Class: Vedeu::Input

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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeInput

Returns a new instance of Input.



7
# File 'lib/vedeu/support/input.rb', line 7

def initialize; end

Class Method Details

.captureObject



3
4
5
# File 'lib/vedeu/support/input.rb', line 3

def self.capture
  new.capture
end

Instance Method Details

#captureObject



9
10
11
# File 'lib/vedeu/support/input.rb', line 9

def capture
  Vedeu.trigger(:_keypress_, keypress)
end