Class: Waves::Console
- Inherits:
-
Application
- Object
- Application
- Waves::Console
- Defined in:
- lib/runtime/console.rb
Class Attribute Summary collapse
-
.console ⇒ Object
readonly
Returns the value of attribute console.
Attributes inherited from Application
Class Method Summary collapse
- .load(options = {}) ⇒ Object
-
.method_missing(*args) ⇒ Object
allow Waves::Console to act as The Console Instance.
Methods inherited from Application
#cache, #config, #debug?, #initialize, #mapping, #mode, #reload, #synchronize
Constructor Details
This class inherits a constructor from Waves::Application
Class Attribute Details
.console ⇒ Object (readonly)
Returns the value of attribute console.
7 8 9 |
# File 'lib/runtime/console.rb', line 7 def console @console end |
Class Method Details
.load(options = {}) ⇒ Object
9 10 11 |
# File 'lib/runtime/console.rb', line 9 def load( ={} ) @console ||= Waves::Console.new( ) end |
.method_missing(*args) ⇒ Object
allow Waves::Console to act as The Console Instance
14 |
# File 'lib/runtime/console.rb', line 14 def method_missing(*args); @console.send(*args); end |