Module: TurboReady::Patches::TagBuilder
- Includes:
- TagHelper
- Defined in:
- lib/turbo_ready/patches/tag_builder.rb
Overview
Patch for Turbo::Streams::TagBuilder typically exposed as ‘turbo_stream` SEE: github.com/hotwired/turbo-rails/blob/main/app/models/turbo/streams/tag_builder.rb
Instance Method Summary collapse
Methods included from TagHelper
Instance Method Details
#invoke(method, args: [], selector: nil, camelize: true, id: nil) ⇒ Object
11 12 13 14 |
# File 'lib/turbo_ready/patches/tag_builder.rb', line 11 def invoke(method, args: [], selector: nil, camelize: true, id: nil) tag = turbo_stream_invoke_tag(method, args: args, selector: selector, camelize: camelize, id: id) TurboReady::StringWrapper.new tag end |