Class: Tenon::Configuration::GridConfiguration
- Inherits:
-
Object
- Object
- Tenon::Configuration::GridConfiguration
- Defined in:
- lib/tenon/config/grid.rb
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#content_columns ⇒ Object
Returns the value of attribute content_columns.
-
#gutter ⇒ Object
Returns the value of attribute gutter.
Instance Method Summary collapse
-
#initialize ⇒ GridConfiguration
constructor
A new instance of GridConfiguration.
Constructor Details
#initialize ⇒ GridConfiguration
Returns a new instance of GridConfiguration.
12 13 14 15 16 17 18 |
# File 'lib/tenon/config/grid.rb', line 12 def initialize @columns = 24 @gutter = 20 @content_columns = { default: 18 } end |
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
10 11 12 |
# File 'lib/tenon/config/grid.rb', line 10 def columns @columns end |
#content_columns ⇒ Object
Returns the value of attribute content_columns.
10 11 12 |
# File 'lib/tenon/config/grid.rb', line 10 def content_columns @content_columns end |
#gutter ⇒ Object
Returns the value of attribute gutter.
10 11 12 |
# File 'lib/tenon/config/grid.rb', line 10 def gutter @gutter end |