class CodeTools::AST::ModuleScope

Public Class Methods

new(line, name, body) click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 1068
def initialize(line, name, body)
  @line = line
  @name = name.name
  @body = body
end

Public Instance Methods

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

  attach_and_call g, :__module_init__, true
end
module?() click to toggle source
# File lib/rubinius/code/ast/definitions.rb, line 1074
def module?
  true
end