Class: Faalis::Dashboard::Helpers::BoxHelpers::Box

Inherits:
Object
  • Object
show all
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_contentObject


19
20
21
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 19

def body_content
  @body
end

6
7
8
9
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 6

def footer(&block)
  return @footer = nil unless block_given?
  @footer = block
end

15
16
17
# File 'lib/faalis/dashboard/helpers/box_helpers.rb', line 15

def footer_content
  @footer
end