Class: Hackle::Target
- Inherits:
-
Object
- Object
- Hackle::Target
- Defined in:
- lib/hackle/internal/model/target.rb
Instance Attribute Summary collapse
-
#conditions ⇒ Object
readonly
Returns the value of attribute conditions.
Instance Method Summary collapse
-
#initialize(conditions:) ⇒ Target
constructor
A new instance of Target.
Constructor Details
#initialize(conditions:) ⇒ Target
Returns a new instance of Target.
10 11 12 |
# File 'lib/hackle/internal/model/target.rb', line 10 def initialize(conditions:) @conditions = conditions end |
Instance Attribute Details
#conditions ⇒ Object (readonly)
Returns the value of attribute conditions.
7 8 9 |
# File 'lib/hackle/internal/model/target.rb', line 7 def conditions @conditions end |