Class: Input
- Inherits:
-
Object
- Object
- Input
- Defined in:
- lib/delve/input/input.rb
Instance Method Summary collapse
-
#initialize(handler) ⇒ Input
constructor
A new instance of Input.
- #wait_for_input ⇒ Object
Constructor Details
#initialize(handler) ⇒ Input
Returns a new instance of Input.
3 4 5 6 |
# File 'lib/delve/input/input.rb', line 3 def initialize(handler) raise 'Cannot initialize display with no renderer' unless handler @handler = handler end |
Instance Method Details
#wait_for_input ⇒ Object
8 9 10 |
# File 'lib/delve/input/input.rb', line 8 def wait_for_input @handler.wait_for_input end |