lib/writeexcel/format.rb in writeexcel-0.4.1 vs lib/writeexcel/format.rb in writeexcel-0.4.2
- old
+ new
@@ -18,10 +18,12 @@
# See CELL FORMATTING, FORMAT METHODS, COLOURS IN EXCEL in WriteExcel's rdoc.
#
require 'writeexcel/compatibility'
require 'writeexcel/colors'
+module Writeexcel
+
class Format < Colors
###############################################################################
#
# initialize(xf_index=0, properties = {})
@@ -1590,6 +1592,9 @@
else
s = %Q!#{attribute} = #{value.to_s}!
end
eval s
end
-end
+end # class Format
+
+end # module Writeexcel
+