Class: Hackle::TargetMatch
- Inherits:
-
Object
- Object
- Hackle::TargetMatch
- Defined in:
- lib/hackle/internal/model/target.rb
Instance Attribute Summary collapse
- #operator ⇒ TargetOperator readonly
- #type ⇒ TargetMatchType readonly
- #value_type ⇒ ValueType readonly
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Instance Method Summary collapse
-
#initialize(type:, operator:, value_type:, values:) ⇒ TargetMatch
constructor
A new instance of TargetMatch.
Constructor Details
#initialize(type:, operator:, value_type:, values:) ⇒ TargetMatch
Returns a new instance of TargetMatch.
59 60 61 62 63 64 |
# File 'lib/hackle/internal/model/target.rb', line 59 def initialize(type:, operator:, value_type:, values:) @type = type @operator = operator @value_type = value_type @values = values end |
Instance Attribute Details
#operator ⇒ TargetOperator (readonly)
53 |
# File 'lib/hackle/internal/model/target.rb', line 53 attr_reader :type, :operator, :value_type, :values |
#type ⇒ TargetMatchType (readonly)
53 54 55 |
# File 'lib/hackle/internal/model/target.rb', line 53 def type @type end |
#value_type ⇒ ValueType (readonly)
53 |
# File 'lib/hackle/internal/model/target.rb', line 53 attr_reader :type, :operator, :value_type, :values |
#values ⇒ Object (readonly)
Returns the value of attribute values.
53 |
# File 'lib/hackle/internal/model/target.rb', line 53 attr_reader :type, :operator, :value_type, :values |