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.
114 115 116 117 |
# File 'lib/kameleoon/configuration/data_file.rb', line 114 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.
112 113 114 |
# File 'lib/kameleoon/configuration/data_file.rb', line 112 def feature_flag @feature_flag end |
#rule ⇒ Object (readonly)
Returns the value of attribute rule.
112 113 114 |
# File 'lib/kameleoon/configuration/data_file.rb', line 112 def rule @rule end |