Class: Faalis::Dashboard::Helpers::BoxHelpers::Box
- Inherits:
-
Object
- Object
- Faalis::Dashboard::Helpers::BoxHelpers::Box
- Defined in:
- lib/faalis/dashboard/helpers/box_helpers.rb
Instance Method Summary collapse
Instance Method Details
#body(&block) ⇒ Object
11 12 13 |
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 11 def body(&block) @body = block end |
#body_content ⇒ Object
19 20 21 |
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 19 def body_content @body end |
#footer(&block) ⇒ Object
6 7 8 9 |
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 6 def (&block) return @footer = nil unless block_given? @footer = block end |
#footer_content ⇒ Object
15 16 17 |
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 15 def @footer end |