Class: Kameleoon::Configuration::RuleInfo
- Inherits:
-
Object
- Object
- Kameleoon::Configuration::RuleInfo
- Defined in:
- lib/kameleoon/configuration/data_file.rb
Instance Attribute Summary collapse
-
#feature_flag ⇒ Object
readonly
Returns the value of attribute feature_flag.
-
#rule ⇒ Object
readonly
Returns the value of attribute rule.
Instance Method Summary collapse
-
#initialize(feature_flag, rule) ⇒ RuleInfo
constructor
A new instance of RuleInfo.
Constructor Details
#initialize(feature_flag, rule) ⇒ RuleInfo
Returns a new instance of RuleInfo.
158 159 160 161 |
# File 'lib/kameleoon/configuration/data_file.rb', line 158 def initialize(feature_flag, rule) @feature_flag = feature_flag @rule = rule end |
Instance Attribute Details
#feature_flag ⇒ Object (readonly)
Returns the value of attribute feature_flag.
156 157 158 |
# File 'lib/kameleoon/configuration/data_file.rb', line 156 def feature_flag @feature_flag end |
#rule ⇒ Object (readonly)
Returns the value of attribute rule.
156 157 158 |
# File 'lib/kameleoon/configuration/data_file.rb', line 156 def rule @rule end |