Class: Hackle::TargetRule
- Inherits:
-
Object
- Object
- Hackle::TargetRule
- Defined in:
- lib/hackle/internal/model/target_rule.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(target:, action:) ⇒ TargetRule
constructor
A new instance of TargetRule.
Constructor Details
#initialize(target:, action:) ⇒ TargetRule
Returns a new instance of TargetRule.
14 15 16 17 |
# File 'lib/hackle/internal/model/target_rule.rb', line 14 def initialize(target:, action:) @target = target @action = action end |