Class: FeatureHub::Sdk::Impl::Applied
- Inherits:
-
Object
- Object
- FeatureHub::Sdk::Impl::Applied
- 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
-
#matched ⇒ Object
readonly
Returns the value of attribute matched.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(matched, value) ⇒ Applied
constructor
A new instance of Applied.
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
#matched ⇒ Object (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 |
#value ⇒ Object (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 |