Class: Styles::Properties::FontWeight
- Defined in:
- lib/styles/properties/font_weight.rb
Constant Summary collapse
- VALUES =
[:normal, :bold].freeze
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#colors, #initialize, multiple_names?, names, other_names, sub_engine, sub_engines, to_sym
Constructor Details
This class inherits a constructor from Styles::Properties::Base
Instance Method Details
#color_to_use ⇒ Object
8 9 10 |
# File 'lib/styles/properties/font_weight.rb', line 8 def color_to_use value == :normal ? :no_bold : value end |