Method: ActionView::Helpers::TagHelper::TagBuilder#self_closing_tag_string
- Defined in:
- lib/action_view/helpers/tag_helper.rb
#self_closing_tag_string(name, options, escape = true, tag_suffix = " />") ⇒ Object (private)
284 285 286 |
# File 'lib/action_view/helpers/tag_helper.rb', line 284 def self_closing_tag_string(name, , escape = true, tag_suffix = " />") "<#{name}#{tag_options(options, escape)}#{tag_suffix}".html_safe end |