Class: Bootstrap::ViewHelpers::Components::Modal::Body
- Inherits:
-
Bootstrap::ViewHelpers::Component
- Object
- Bootstrap::ViewHelpers::Component
- Bootstrap::ViewHelpers::Components::Modal::Body
- 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
Constructor Details
This class inherits a constructor from Bootstrap::ViewHelpers::Component
Instance Method Details
#to_html ⇒ Object
6 7 8 |
# File 'lib/bootstrap/view_helpers/components/modal/body.rb', line 6 def to_html content_tag(:div, ) { block.call(self) if block.present? } end |