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, , escape: true, &block) content = @view_context.capture(self, &block) if block content_tag_string(name, content, , escape) end |