lib/rubyfromexcel.rb in rubyfromexcel-0.0.13 vs lib/rubyfromexcel.rb in rubyfromexcel-0.0.16
- old
+ new
@@ -20,10 +20,10 @@
def self.debug(name,message)
return "" unless $DEBUG == true
file_name = "#{name.to_s}-debug.txt"
@files ||= {}
- file = @files[file_name] ||= File.open(file_name.to_s,'w')
+ file = @files[file_name] ||= File.open(file_name,'w')
file.puts message
end
class Process
attr_accessor :source_excel_directory
\ No newline at end of file