class CodeTools::AST::VAlias
Public Instance Methods
bytecode(g)
click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 28 def bytecode(g) pos(g) g.push_rubinius g.find_const :Globals g.push_literal @from g.push_literal @to # TODO: fix #add_alias arg order to match #alias_method g.send :add_alias, 2 end
to_sexp()
click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 39 def to_sexp [:valias, @to, @from] end