method
extended
v2_2_9 -
Show latest stable
- Class:
IRB::HistorySavingAbility
extended(obj)public
No documentation available.
# File lib/irb/ext/save-history.rb, line 61
def HistorySavingAbility.extended(obj)
IRB.conf[:AT_EXIT].push proc{obj.save_history}
obj.load_history
obj
end