Class: Unleash::FeatureToggle::FeatureEvaluationResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/unleash/feature_toggle.rb

Instance Attribute Summary collapse

Instance Attribute Details

#enabled?Object

Returns the value of attribute enabled?

Returns:

  • (Object)

    the current value of enabled?



12
13
14
# File 'lib/unleash/feature_toggle.rb', line 12

def enabled?
  @enabled?
end

#strategyObject

Returns the value of attribute strategy

Returns:

  • (Object)

    the current value of strategy



12
13
14
# File 'lib/unleash/feature_toggle.rb', line 12

def strategy
  @strategy
end