lib/spreadsheet/font.rb in spreadsheet-0.7.5 vs lib/spreadsheet/font.rb in spreadsheet-0.7.6

- old
+ new

@@ -62,9 +62,20 @@ :hebrew, :arabic, :baltic, :cyrillic, :thai, :iso_latin2, :oem_latin1 def initialize name, opts={} self.name = name @color = :text + @previous_fast_key = nil + @size = nil + @weight = nil + @italic = nil + @strikeout = nil + @outline = nil + @shadow = nil + @escapement = nil + @underline = nil + @family = nil + @encoding = nil opts.each do |key, val| self.send "#{key}=", val end end ##