class Bootstrap::ViewHelpers::Components::Modal::Footer
Public Instance Methods
to_html()
click to toggle source
# File lib/bootstrap/view_helpers/components/modal/footer.rb, line 6 def to_html content_tag(:div, options) { block.call(self) if block.present? } end
Protected Instance Methods
inject_class_name_to_options()
click to toggle source
# File lib/bootstrap/view_helpers/components/modal/footer.rb, line 22 def inject_class_name_to_options options[:class] = "modal-footer #{options[:class]}" options[:class].strip! end
parse_options(options)
click to toggle source
Calls superclass method
Bootstrap::ViewHelpers::Component#parse_options
# File lib/bootstrap/view_helpers/components/modal/footer.rb, line 27 def parse_options(options) super inject_class_name_to_options end