Class: Vedeu::Input

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.captureObject



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

def self.capture
  new.capture
end

Instance Method Details

#captureObject



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

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