Class: VER::Keymap::Results::Impossible
- Inherits:
-
Struct
- Object
- Struct
- VER::Keymap::Results::Impossible
- Defined in:
- lib/ver/keymap.rb
Overview
Indicate that no result can and will be found in the keymap
Instance Attribute Summary collapse
-
#sequence ⇒ Object
Returns the value of attribute sequence.
Instance Method Summary collapse
Instance Attribute Details
#sequence ⇒ Object
Returns the value of attribute sequence
7 8 9 |
# File 'lib/ver/keymap.rb', line 7 def sequence @sequence end |
Instance Method Details
#to_s ⇒ Object
8 9 10 11 |
# File 'lib/ver/keymap.rb', line 8 def to_s stack = sequence.map{|seq| SYMKEYS[seq] || seq }.join(' - ') "#{stack} is undefined" end |