mirror of
https://github.com/mistergibson/gxg-web-client.git
synced 2026-08-15 03:26:00 -07:00
35 lines
500 B
Ruby
35 lines
500 B
Ruby
class << MAIN
|
|
def include(*mods)
|
|
Rubinius.privately do
|
|
Object.include(*mods)
|
|
end
|
|
end
|
|
|
|
def public(*methods)
|
|
Rubinius.privately do
|
|
Object.public(*methods)
|
|
end
|
|
|
|
Object
|
|
end
|
|
|
|
def private(*methods)
|
|
Rubinius.privately do
|
|
Object.private(*methods)
|
|
end
|
|
|
|
Object
|
|
end
|
|
|
|
def define_method(*args, &block)
|
|
Rubinius.privately do
|
|
Object.define_method(*args, &block)
|
|
end
|
|
end
|
|
|
|
def to_s
|
|
"main"
|
|
end
|
|
|
|
alias_method :inspect, :to_s
|
|
end
|