Class: LobbyConstructor
- Inherits:
-
Object
- Object
- LobbyConstructor
- Defined in:
- lib/lobby.rb
Overview
Simply the “root class” of this library, to expediate things.
Constant Summary collapse
- Version =
1
Class Method Summary collapse
-
.construct! ⇒ Object
This method is responsible for constructing the “lobby environment.”.
Class Method Details
.construct! ⇒ Object
This method is responsible for constructing the “lobby environment.”
8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/lobby.rb', line 8 def self.construct! lobby = ::Kernel::lobby def lobby.inspect "lobby" end root_object_eigenclass = class<<lobby;self;end ::Kernel.send :const_set, "Lobby", root_object_eigenclass def root_object_eigenclass.inspect "Lobby" end end |