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