Class: NxtSchema::Template::OnEvaluator
- Inherits:
-
Object
- Object
- NxtSchema::Template::OnEvaluator
- Defined in:
- lib/nxt_schema/template/on_evaluator.rb
Instance Method Summary collapse
- #call(target = nil, *args, &block) ⇒ Object
-
#initialize(condition:, value:) ⇒ OnEvaluator
constructor
A new instance of OnEvaluator.
Constructor Details
#initialize(condition:, value:) ⇒ OnEvaluator
Returns a new instance of OnEvaluator.
4 5 6 7 |
# File 'lib/nxt_schema/template/on_evaluator.rb', line 4 def initialize(condition:, value:) @condition = condition @value = value end |