Class: Duby::AST::JRubyAst::ReturnNode

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

Instance Method Summary collapse

Instance Method Details

#transform(transformer, parent) ⇒ Object



943
944
945
946
947
# File 'lib/duby/transform.rb', line 943

def transform(transformer, parent)
  Return.new(parent, position) do |ret|
    [transformer.transform(value_node, ret)]
  end
end