Sha256: 91cd9cd1f802f209fca07319718452fa56aebe20230cc148ae42c0eaeb85c1cd
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
require 'rib' require 'readline' module Rib::Readline include Rib::Plugin Shell.use(self) def before_loop return super if Readline.disabled? @history = ::Readline::HISTORY super end def get_input return super if Readline.disabled? ::Readline.readline(prompt, true) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rib-0.1.0 | lib/rib/core/readline.rb |