lib/writeexcel.rb in writeexcel-1.0.6 vs lib/writeexcel.rb in writeexcel-1.0.7
- old
+ new
@@ -8,16 +8,17 @@
# Copyright 2000-2010, John McNamara, jmcnamara@cpan.org
#
# original written in Perl by John McNamara
# converted to Ruby by Hideo Nakamura, cxn03651@msj.biglobe.ne.jp
#
+require 'writeexcel/version'
require 'writeexcel/biffwriter'
require 'writeexcel/olewriter'
require 'writeexcel/formula'
require 'writeexcel/format'
-require 'writeexcel/worksheet'
-require "writeexcel/workbook"
+require 'writeexcel/worksheets'
+require 'writeexcel/workbook'
require 'writeexcel/chart'
require 'writeexcel/charts/area'
require 'writeexcel/charts/bar'
require 'writeexcel/charts/column'
require 'writeexcel/charts/external'
@@ -1151,9 +1152,6 @@
# * When there are several charts with titles set in a workbook some of
# the titles may display at a font size of 10 instead of the default
# 12 until another chart with the title set is viewed.
#
class WriteExcel < Workbook
- if RUBY_VERSION < '1.9'
- $KCODE = 'u'
- end
end