mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

Reline is a readline stdlib compatible library. It also supports multiline input. IRB is improved with Reline and supports multiline. Besides, supports showing documents when completed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
7 lines
118 B
Ruby
7 lines
118 B
Ruby
class Reline::KeyActor::Base
|
|
MAPPING = Array.new(256)
|
|
|
|
def get_method(key)
|
|
self.class::MAPPING[key]
|
|
end
|
|
end
|