Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (23 sloc) 0.491 kb
# -*- encoding: us-ascii -*-
##
# Used to implement Module#autoload.
class Autoload
def self.allocate
Rubinius.primitive :autoload_allocate
raise PrimtiveFailure, "Autoload.allocate primitive failed"
end
attr_reader :name
attr_reader :scope
attr_reader :path
def initialize(name, scope, path)
@name = name
@scope = scope
@path = path
end
##
#
# Change the file to autoload. Used by Module#autoload
def set_path(path)
@path = path
end
end
Jump to Line
Something went wrong with that request. Please try again.