Class: Duby::AST::JRubyAst::BlockNode

Inherits:
Object
  • Object
show all
Defined in:
lib/duby/transform.rb

Instance Method Summary collapse

Instance Method Details

#transform(transformer, parent) ⇒ Object



347
348
349
350
351
# File 'lib/duby/transform.rb', line 347

def transform(transformer, parent)
  Body.new(parent, position) do |body|
    child_nodes.map {|child| transformer.transform(child, body)}
  end
end