Class: Aureus::Components::BoxButton
- Inherits:
-
Renderable
- Object
- Renderable
- Aureus::Components::BoxButton
- Defined in:
- lib/aureus/components/box.rb
Instance Method Summary collapse
-
#initialize(content) ⇒ BoxButton
constructor
A new instance of BoxButton.
- #render ⇒ Object
Methods inherited from Renderable
#compact, #compact_render, #content_tag, #init
Constructor Details
#initialize(content) ⇒ BoxButton
Returns a new instance of BoxButton.
46 47 48 |
# File 'lib/aureus/components/box.rb', line 46 def initialize content @content = content end |
Instance Method Details
#render ⇒ Object
50 51 52 |
# File 'lib/aureus/components/box.rb', line 50 def render @content end |