Class: Input

Inherits:
Object
  • Object
show all
Defined in:
lib/delve/input/input.rb

Instance Method Summary collapse

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_inputObject



8
9
10
# File 'lib/delve/input/input.rb', line 8

def wait_for_input
  @handler.wait_for_input
end