Class: Split::EncapsulatedHelper::ContextShim
- Inherits:
-
Object
- Object
- Split::EncapsulatedHelper::ContextShim
- Includes:
- Helper
- Defined in:
- lib/split/encapsulated_helper.rb
Constant Summary
Constants included from Helper
Instance Method Summary collapse
- #ab_user ⇒ Object
-
#initialize(context) ⇒ ContextShim
constructor
A new instance of ContextShim.
Methods included from Helper
ab_active_experiments, ab_finished, ab_record_extra_info, ab_test, ab_test_config, ab_user, active_experiments, control_variable, exclude_visitor?, finish_experiment, is_ignored_ip_address?, is_preview?, is_robot?, normalize_metric, override_alternative, override_present?, reset!, split_generically_disabled?
Constructor Details
#initialize(context) ⇒ ContextShim
Returns a new instance of ContextShim.
22 23 24 |
# File 'lib/split/encapsulated_helper.rb', line 22 def initialize(context) @context = context end |