Class: Waves::Console

Inherits:
Application show all
Defined in:
lib/runtime/console.rb

Class Attribute Summary collapse

Attributes inherited from Application

#options

Class Method Summary collapse

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

.consoleObject (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( options={} )
  @console ||= Waves::Console.new( options )
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