class method self.new

Ruby on Rails 1.5.0

Since v1.3.3 Last seen in v2.0.23

Available in: v1.3.3 v1.4.0 v1.5.0 v2.0.23

Signature

self.new(view_context)

No documentation comment.

Parameters

view_context req
Source
# File app/models/turbo/streams/tag_builder.rb, line 28
  def initialize(view_context)
    @view_context = view_context
    @view_context.formats |= [:html]
  end

Defined in app/models/turbo/streams/tag_builder.rb line 28 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Turbo::Streams::TagBuilder

Type at least 2 characters to search.

↑↓ navigate · open · esc close