Class: Aureus::RowColumn
- Inherits:
-
Renderable
- Object
- Renderable
- Aureus::RowColumn
- Defined in:
- lib/aureus/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.
- #render ⇒ Object
Methods inherited from Renderable
#compact, #compact_render, #content_tag, #init
Constructor Details
#initialize(width, content) ⇒ RowColumn
Returns a new instance of RowColumn.
54 55 56 57 |
# File 'lib/aureus/row.rb', line 54 def initialize width, content @width = width @content = content end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
52 53 54 |
# File 'lib/aureus/row.rb', line 52 def content @content end |
#width ⇒ Object (readonly)
Returns the value of attribute width.
52 53 54 |
# File 'lib/aureus/row.rb', line 52 def width @width end |
Instance Method Details
#render ⇒ Object
59 60 61 |
# File 'lib/aureus/row.rb', line 59 def render end |