class CodeTools::AST::SplatWrapped

Public Instance Methods

bytecode(g) click to toggle source
# File lib/rubinius/code/ast/variables.rb, line 381
def bytecode(g)
  pos(g)

  assign = g.new_label

  g.dup
  g.push_cpath_top
  g.find_const :Array
  g.swap
  g.kind_of
  g.goto_if_true assign
  g.make_array 1

  assign.set!
  @value.bytecode(g)
end
to_sexp() click to toggle source
# File lib/rubinius/code/ast/variables.rb, line 398
def to_sexp
  @value.to_sexp
end