Class: Riml::Compiler::ListUnpackNodeVisitor

Inherits:
ListNodeVisitor
  • Object
show all
Defined in:
lib/riml/compiler.rb

Instance Method Summary collapse

Instance Method Details

#compile(node) ⇒ Object



239
240
241
# File 'lib/riml/compiler.rb', line 239

def compile(node)
  node.compiled_output = super.reverse.sub(',', ';').reverse
end