Class: Aureus::Components::RowColumn
- Inherits:
-
Renderable
- Object
- Renderable
- Aureus::Components::RowColumn
- Defined in:
- lib/aureus/components/row.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#width ⇒ Object
readonly
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize(width, content) ⇒ RowColumn
constructor
A new instance of RowColumn.
Methods inherited from Renderable
#compact, #compact_render, #content_tag, #init, #render
Constructor Details
#initialize(width, content) ⇒ RowColumn
60 61 62 63 |
# File 'lib/aureus/components/row.rb', line 60 def initialize width, content @width = width @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
58 59 60 |
# File 'lib/aureus/components/row.rb', line 58 def content @content end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
58 59 60 |
# File 'lib/aureus/components/row.rb', line 58 def width @width end |