Class: TPPlus::Nodes::SetSkipNode
- Inherits:
-
Object
- Object
- TPPlus::Nodes::SetSkipNode
- Defined in:
- lib/tp_plus/nodes/set_skip_node.rb
Overview
for setting skip conditions
Instance Method Summary collapse
- #eval(context) ⇒ Object
-
#initialize(value) ⇒ SetSkipNode
constructor
A new instance of SetSkipNode.
Constructor Details
#initialize(value) ⇒ SetSkipNode
Returns a new instance of SetSkipNode.
5 6 7 |
# File 'lib/tp_plus/nodes/set_skip_node.rb', line 5 def initialize(value) @value = value end |
Instance Method Details
#eval(context) ⇒ Object
9 10 11 |
# File 'lib/tp_plus/nodes/set_skip_node.rb', line 9 def eval(context) "SKIP CONDITION #{@value.eval(context, disable_mixed_logic: true)}" end |