class 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