class ActionView::FileSystemResolver

A resolver that loads files from the filesystem.

Attributes

Public Class Methods

Calls superclass method
# File actionview/lib/action_view/template/resolver.rb, line 93
def initialize(path)
  raise ArgumentError, "path already is a Resolver class" if path.is_a?(Resolver)
  @unbound_templates = Concurrent::Map.new
  @path_parser = PathParser.new
  @path = File.expand_path(path)
  super()
end

Public Instance Methods

Calls superclass method ActionView::Resolver#clear_cache
# File actionview/lib/action_view/template/resolver.rb, line 101
def clear_cache
  @unbound_templates.clear
  @path_parser = PathParser.new
  super
end
# File actionview/lib/action_view/template/resolver.rb, line 112
def eql?(resolver)
  self.class.equal?(resolver.class) && to_path == resolver.to_path
end
Also aliased as: ==
Alias for: to_s
# File actionview/lib/action_view/template/resolver.rb, line 107
def to_s
  @path.to_s
end
Also aliased as: to_path