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.
154 155 156 157 |
# File 'lib/kameleoon/configuration/data_file.rb', line 154 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.
152 153 154 |
# File 'lib/kameleoon/configuration/data_file.rb', line 152 def feature_flag @feature_flag end |
#rule ⇒ Object (readonly)
Returns the value of attribute rule.
152 153 154 |
# File 'lib/kameleoon/configuration/data_file.rb', line 152 def rule @rule end |