Object
Font formatting data
Sets weight to :bold if(bool), :normal otherwise.
# File lib/spreadsheet/font.rb, line 72 def bold= bool self.weight = bool ? :bold : nil end
Font weight Valid values: :normal, :bold or any positive Integer. In Excel:
100 <= weight <= 1000 :bold => 700 :normal => 400
Default: :normal
# File lib/spreadsheet/font.rb, line 29 enum :weight, :normal, :bold, Integer, :bold => :b
Generated with the Darkfish Rdoc Generator 2.