Method: ActionView::Helpers::TagHelper::TagBuilder#method_missing

Defined in:
lib/action_view/helpers/tag_helper.rb

#method_missing(called, *args, escape: true, **options, &block) ⇒ Object (private)



321
322
323
324
325
326
327
# File 'lib/action_view/helpers/tag_helper.rb', line 321

def method_missing(called, *args, escape: true, **options, &block)
  name = called.name.dasherize

  TagHelper.ensure_valid_html5_tag_name(name)

  tag_string(name, *args, options, escape: escape, &block)
end