class Reline::KeyActor::Base

Constants

MAPPING

Public Class Methods

# File lib/reline/key_actor/base.rb, line 8
def initialize
  @default_key_bindings = {}
end

Public Instance Methods

# File lib/reline/key_actor/base.rb, line 12
def default_key_bindings
  @default_key_bindings
end
# File lib/reline/key_actor/base.rb, line 4
def get_method(key)
  self.class::MAPPING[key]
end
# File lib/reline/key_actor/base.rb, line 16
def reset_default_key_bindings
  @default_key_bindings.clear
end