class CodeTools::AST::AccessUndefined

Public Class Methods

match?(line, receiver, name, arguments, privately) click to toggle source
# File lib/rubinius/code/ast/transforms.rb, line 51
def self.match?(line, receiver, name, arguments, privately)
  if privately and name == :undefined
    new line, receiver, name, privately
  end
end

Public Instance Methods

bytecode(g) click to toggle source
# File lib/rubinius/code/ast/transforms.rb, line 57
def bytecode(g)
  pos(g)
  g.push_undef
end