On this page
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
Ruby Core © 1993–2022 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.