Class: Styles::Properties::Width
- Defined in:
- lib/styles/properties/width.rb
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
#width ⇒ Object
6 7 8 |
# File 'lib/styles/properties/width.rb', line 6 def width value.to_i >= 0 ? value : 0 end |