Method: ActionView::Helpers::TagHelper::TagBuilder#tag_string

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

#tag_string(name, content = nil, options, escape: true, &block) ⇒ Object (private)



278
279
280
281
282
# File 'lib/action_view/helpers/tag_helper.rb', line 278

def tag_string(name, content = nil, options, escape: true, &block)
  content = @view_context.capture(self, &block) if block

  (name, content, options, escape)
end