Class: RKelly::Nodes::ConditionalNode

Inherits:
IfNode
  • Object
show all
Defined in:
lib/rkelly/nodes/conditional_node.rb

Instance Attribute Summary

Attributes inherited from IfNode

#conditions, #else

Attributes inherited from Node

#comments, #filename, #range, #value

Instance Method Summary collapse

Methods inherited from Node

#==, #===, #each, #line, #pointcut, #to_dots, #to_ecma, #to_real_sexp, #to_sexp

Methods included from Visitable

#accept, included

Constructor Details

#initialize(test, true_block, else_block) ⇒ ConditionalNode

Returns a new instance of ConditionalNode.



6
7
8
# File 'lib/rkelly/nodes/conditional_node.rb', line 6

def initialize(test, true_block, else_block)
  super
end