lib/writeexcel/workbook.rb in writeexcel-1.0.6 vs lib/writeexcel/workbook.rb in writeexcel-1.0.7

- old
+ new

@@ -12,24 +12,13 @@ # original written in Perl by John McNamara # converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp # require 'nkf' require 'forwardable' -require 'writeexcel/biffwriter' -require 'writeexcel/worksheet' -require 'writeexcel/chart' -require 'writeexcel/format' -require 'writeexcel/formula' -require 'writeexcel/olewriter' -require 'writeexcel/storage_lite' -require 'writeexcel/compatibility' require 'writeexcel/shared_string_table' -require 'writeexcel/worksheets' class Workbook < BIFFWriter - require 'writeexcel/properties' - require 'writeexcel/helper' extend Forwardable attr_reader :url_format, :parser, :tempdir, :date_1904 attr_reader :compatibility, :palette @@ -114,9 +103,10 @@ @summary = '' @doc_summary = '' @localtime = Time.now @defined_names = [] + @fileclosed = nil setup_built_in_formats(default_formats) # Add the default format for hyperlinks @url_format = add_format(:color => 'blue', :underline => 1)