Class: RBelly::Nodes::ConditionalNode
- Defined in:
- lib/rbelly/nodes/conditional_node.rb
Instance Attribute Summary
Attributes inherited from IfNode
Attributes inherited from Node
#comments, #filename, #line, #value
Instance Method Summary collapse
-
#initialize(test, true_block, else_block) ⇒ ConditionalNode
constructor
A new instance of ConditionalNode.
Methods inherited from Node
#==, #===, #each, #pointcut, #to_dots, #to_ecma, #to_real_sexp, #to_sexp
Methods included from Visitable
Constructor Details
#initialize(test, true_block, else_block) ⇒ ConditionalNode
Returns a new instance of ConditionalNode.
6 7 8 |
# File 'lib/rbelly/nodes/conditional_node.rb', line 6 def initialize(test, true_block, else_block) super end |