Method: Rib::History#before_loop
- Defined in:
- lib/rib/core/history.rb
#before_loop ⇒ Object
————— Rib API —————
11 12 13 14 15 16 17 18 19 |
# File 'lib/rib/core/history.rb', line 11 def before_loop return super if History.disabled? history_file history_size FileUtils.mkdir_p(File.dirname(history_file_path)) read_history Rib.say("History read from: #{history_file_path}") if $VERBOSE super end |