Sha256: 75ea30081056091960f11d8a70cb886728ae4e0e671d8f13ad823c71e39f694a
Contents?: true
Size: 362 Bytes
Versions: 15
Compression:
Stored size: 362 Bytes
Contents
require 'rib' require 'readline' module Rib::Readline include Rib::Plugin Shell.use(self) # --------------- Rib API --------------- def before_loop return super if Readline.disabled? config[:history] = ::Readline::HISTORY super end def get_input return super if Readline.disabled? ::Readline.readline(prompt, true) end end
Version data entries
15 entries across 15 versions & 1 rubygems