# File lib/spreadsheet/format.rb, line 339 def bold=(weight) weight = 1 if weight == true weight = 0 if weight == false weight = 0x2BC if weight.nil? weight = 0x2BC if weight == 1 weight = 0x190 if weight == 0 weight = 0x190 if weight < 0x064 weight = 0x190 if weight > 0x3E8 @bold = weight @bold end