Class: Wirble::History
- Inherits:
-
Object
- Object
- Wirble::History
- Defined in:
- lib/wirble.rb
Overview
Basic IRB history support. This is based on the tips from wiki.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks
Constant Summary collapse
- DEFAULTS =
{ :history_path => ENV['IRB_HISTORY_FILE'] || "~/.irb_history", :history_size => (ENV['IRB_HISTORY_SIZE'] || 1000).to_i, :history_perms => File::WRONLY | File::CREAT | File::TRUNC, }
Instance Method Summary collapse
-
#initialize(opt = nil) ⇒ History
constructor
A new instance of History.