Class: Kameleoon::Configuration::RuleInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/kameleoon/configuration/data_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_flagObject (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

#ruleObject (readonly)

Returns the value of attribute rule.



156
157
158
# File 'lib/kameleoon/configuration/data_file.rb', line 156

def rule
  @rule
end