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
Returns a new instance of RowColumn.
56 57 58 59 |
# File 'lib/aureus/components/row.rb', line 56 def initialize(width, content) @width = width @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
54 55 56 |
# File 'lib/aureus/components/row.rb', line 54 def content @content end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
54 55 56 |
# File 'lib/aureus/components/row.rb', line 54 def width @width end |