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



831
832
833
834
835
# File 'lib/duby/transform.rb', line 831

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