lib/bio/shell/core.rb in bio-1.4.2 vs lib/bio/shell/core.rb in bio-1.4.3

- old
+ new

@@ -341,9 +341,10 @@ STDERR.print "Saving object (#{file}) ... " File.rename(file, "#{file}.old") if File.exist?(file) File.open(file, "w") do |f| bind = Bio::Shell.cache[:binding] list = eval("local_variables", bind) + list.collect! { |x| x.to_s } list -= ["_"] hash = {} list.each do |elem| value = eval(elem, bind) if value