Method: TTY::Reader::Key#ctrl

Defined in:
lib/tty/reader/key_event.rb

#ctrlObject

Returns the value of attribute ctrl

Returns:

  • (Object)

    the current value of ctrl



10
11
12
# File 'lib/tty/reader/key_event.rb', line 10

def ctrl
  @ctrl
end