Class: Duby::AST::JRubyAst::EnsureNode

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

Instance Method Summary collapse

Instance Method Details

#transform(transformer, parent) ⇒ Object



677
678
679
680
681
# File 'lib/duby/transform.rb', line 677

def transform(transformer, parent)
  transformer.push_jump_scope(Ensure, parent, position) do |node|
    child_nodes.map {|c| transformer.transform(c, node)}
  end
end