In Files

Parent

Methods

Files

Wirble::History

Basic IRB history support. This is based on the tips from wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks

Constants

DEFAULTS

Public Class Methods

new(opt = nil) click to toggle source
# File lib/wirble.rb, line 115
def initialize(opt = nil)
  @opt = DEFAULTS.merge(opt || {})
  return unless defined? Readline::HISTORY
  load_history
  Kernel.at_exit { save_history }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.