Class: Gitlab::Experiment::Rollout::Base
- Inherits:
-
Object
- Object
- Gitlab::Experiment::Rollout::Base
- Defined in:
- lib/gitlab/experiment/rollout.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#experiment ⇒ Object
readonly
Returns the value of attribute experiment.
Instance Method Summary collapse
-
#initialize(experiment) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(experiment) ⇒ Base
Returns a new instance of Base.
21 22 23 |
# File 'lib/gitlab/experiment/rollout.rb', line 21 def initialize(experiment) @experiment = experiment end |
Instance Attribute Details
#experiment ⇒ Object (readonly)
Returns the value of attribute experiment.
17 18 19 |
# File 'lib/gitlab/experiment/rollout.rb', line 17 def experiment @experiment end |