class method
self.new
Ruby on Rails 6.1.7.10
Since v6.0.6Signature
self.new(source, identifier, handler, options)
No documentation comment.
Parameters
-
sourcereq -
identifierreq -
handlerreq -
optionsreq
Source
# File actionview/lib/action_view/unbound_template.rb, line 7
def initialize(source, identifier, handler, options)
@source = source
@identifier = identifier
@handler = handler
@options = options
@templates = Concurrent::Map.new(initial_capacity: 2)
end
Defined in actionview/lib/action_view/unbound_template.rb line 7
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::UnboundTemplate