method

self_closing_tag_string

rails latest stable - Class: ActionView::Helpers

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

self_closing_tag_string(name, options, escape = true, tag_suffix = " />")
public

No documentation available.

# File actionview/lib/action_view/helpers/tag_helper.rb, line 248
        def self_closing_tag_string(name, options, escape = true, tag_suffix = " />")
          "<#{name}#{tag_options(options, escape)}#{tag_suffix}".html_safe
        end