Class: Vigilem::Evdev::KeyEvent

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/vigilem/evdev/dom/adapter.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.cast(event) ⇒ Object



23
24
25
# File 'lib/vigilem/evdev/dom/adapter.rb', line 23

def self.cast(event)
  new(event)
end

Instance Method Details

#is_a?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/vigilem/evdev/dom/adapter.rb', line 17

def is_a?
  __getobj__.is_a?
end