module Rib::Readline

Public Instance Methods

before_loop() click to toggle source

————— Rib API —————

Calls superclass method
# File lib/rib/core/readline.rb, line 11
def before_loop
  return super if Readline.disabled?
  config[:history] = ::Readline::HISTORY
  super
end
get_input() click to toggle source
Calls superclass method
# File lib/rib/core/readline.rb, line 17
def get_input
  return super if Readline.disabled?
  ::Readline.readline(prompt, true)
end