Method: Dispatches#savehistory

Defined in:
lib/itrp.rb

#savehistoryObject



125
126
127
128
129
130
131
# File 'lib/itrp.rb', line 125

def savehistory
       File.open( HISTFILE, "w") do |h|
           Readline::HISTORY.to_a.uniq.each do |l|
               h.write(l + "\n" ) 
           end
       end
end