类 Reline::KeyActor::Base

常量

MAPPING

公共类方法

new() 点击切换源代码
# File lib/reline/key_actor/base.rb, line 8
def initialize
  @default_key_bindings = {}
end

公共实例方法

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