Class: FeatureHub::Sdk::Impl::Applied

Inherits:
Object
  • Object
show all
Defined in:
lib/feature_hub/sdk/impl/apply_features.rb

Overview

represents the application of a match, either successfully or not

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(matched, value) ⇒ Applied

Returns a new instance of Applied.



12
13
14
15
# File 'lib/feature_hub/sdk/impl/apply_features.rb', line 12

def initialize(matched, value)
  @matched = matched
  @value = value
end

Instance Attribute Details

#matchedObject (readonly)

Returns the value of attribute matched.



10
11
12
# File 'lib/feature_hub/sdk/impl/apply_features.rb', line 10

def matched
  @matched
end

#valueObject (readonly)

Returns the value of attribute value.



10
11
12
# File 'lib/feature_hub/sdk/impl/apply_features.rb', line 10

def value
  @value
end