Class: Bootstrap::ViewHelpers::Components::Modal::Body

Inherits:
Bootstrap::ViewHelpers::Component show all
Defined in:
lib/bootstrap/view_helpers/components/modal/body.rb

Instance Attribute Summary

Attributes inherited from Bootstrap::ViewHelpers::Component

#block, #options, #style, #view

Instance Method Summary collapse

Methods inherited from Bootstrap::ViewHelpers::Component

#initialize

Constructor Details

This class inherits a constructor from Bootstrap::ViewHelpers::Component

Instance Method Details

#to_htmlObject



6
7
8
# File 'lib/bootstrap/view_helpers/components/modal/body.rb', line 6

def to_html
  (:div, options) { block.call(self) if block.present? }
end