Class: Aureus::Components::RowColumn

Inherits:
Renderable show all
Defined in:
lib/aureus/components/row.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contentObject (readonly)

Returns the value of attribute content.



58
59
60
# File 'lib/aureus/components/row.rb', line 58

def content
  @content
end

#widthObject (readonly)

Returns the value of attribute width.



58
59
60
# File 'lib/aureus/components/row.rb', line 58

def width
  @width
end