Methods
B
N
Class Public methods
new(source, identifer, handler, options)
# File actionview/lib/action_view/unbound_template.rb, line 7
def initialize(source, identifer, handler, options)
  @source = source
  @identifer = identifer
  @handler = handler
  @options = options

  @templates = Concurrent::Map.new(initial_capacity: 2)
end
Instance Public methods
bind_locals(locals)
# File actionview/lib/action_view/unbound_template.rb, line 16
def bind_locals(locals)
  @templates[locals] ||= build_template(locals)
end