diff options
Diffstat (limited to 'lib/reline/key_actor/base.rb')
-rw-r--r-- | lib/reline/key_actor/base.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/reline/key_actor/base.rb b/lib/reline/key_actor/base.rb new file mode 100644 index 0000000000..f4abac55d4 --- /dev/null +++ b/lib/reline/key_actor/base.rb @@ -0,0 +1,7 @@ +class Reline::KeyActor::Base + MAPPING = Array.new(256) + + def get_method(key) + self.class::MAPPING[key] + end +end |