Class: Aureus::BoxButton
- Inherits:
-
Renderable
- Object
- Renderable
- Aureus::BoxButton
- Defined in:
- lib/aureus/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.
44 45 46 |
# File 'lib/aureus/box.rb', line 44 def initialize content @content = content end |
Instance Method Details
#render ⇒ Object
48 49 50 |
# File 'lib/aureus/box.rb', line 48 def render @content end |