Module: RedParse::KeywordOpNode

Included in:
IfOpNode, LogicalNode, RescueOpNode, UnlessOpNode, UntilOpNode, WhileOpNode
Defined in:
lib/redparse/node.rb

Instance Method Summary collapse

Instance Method Details

#unparse(o = default_unparse_options) ⇒ Object



2224
2225
2226
# File 'lib/redparse/node.rb', line 2224

def unparse o=default_unparse_options
  [left.unparse(o),' ',op,' ',right.unparse(o)].join
end