Class: Hackle::TargetCondition
- Inherits:
-
Object
- Object
- Hackle::TargetCondition
- Defined in:
- lib/hackle/internal/model/target.rb
Instance Attribute Summary collapse
- #key ⇒ TargetKey readonly
-
#match ⇒ Object
readonly
Returns the value of attribute match.
Instance Method Summary collapse
-
#initialize(key:, match:) ⇒ TargetCondition
constructor
A new instance of TargetCondition.
Constructor Details
#initialize(key:, match:) ⇒ TargetCondition
Returns a new instance of TargetCondition.
22 23 24 25 |
# File 'lib/hackle/internal/model/target.rb', line 22 def initialize(key:, match:) @key = key @match = match end |
Instance Attribute Details
#key ⇒ TargetKey (readonly)
20 21 22 |
# File 'lib/hackle/internal/model/target.rb', line 20 def key @key end |
#match ⇒ Object (readonly)
Returns the value of attribute match.
20 |
# File 'lib/hackle/internal/model/target.rb', line 20 attr_reader :key, :match |