Class: ControlflowNode
- Inherits:
-
Object
- Object
- ControlflowNode
- Defined in:
- lib/nodes.rb
Instance Method Summary collapse
-
#initialize(expression, block) ⇒ ControlflowNode
constructor
A new instance of ControlflowNode.
Constructor Details
#initialize(expression, block) ⇒ ControlflowNode
Returns a new instance of ControlflowNode.
246 247 248 249 |
# File 'lib/nodes.rb', line 246 def initialize(expression, block) @expression = expression @block = block end |