Class: TopLevelClass
- Defined in:
- lib/carat-dev/main/toplevel.rb
Class Method Summary collapse
Instance Method Summary collapse
- #binding ⇒ Object
-
#initialize ⇒ TopLevelClass
constructor
A new instance of TopLevelClass.
Constructor Details
#initialize ⇒ TopLevelClass
Returns a new instance of TopLevelClass.
13 14 15 |
# File 'lib/carat-dev/main/toplevel.rb', line 13 def initialize() super(TOPLEVEL_BINDING.self) end |
Class Method Details
.instance ⇒ Object
9 10 11 |
# File 'lib/carat-dev/main/toplevel.rb', line 9 def instance @singleton ||= new end |
Instance Method Details
#binding ⇒ Object
16 17 18 |
# File 'lib/carat-dev/main/toplevel.rb', line 16 def binding() TOPLEVEL_BINDING end |