edge badge

A resolver that loads files from the filesystem.

Methods
#
E
N
T
Attributes
[R] path
Class Public methods
new(path, pattern = nil)
# File actionview/lib/action_view/template/resolver.rb, line 302
def initialize(path, pattern = nil)
  raise ArgumentError, "path already is a Resolver class" if path.is_a?(Resolver)
  super(pattern)
  @path = File.expand_path(path)
end
Instance Public methods
==(resolver)
Alias for: eql?
eql?(resolver)
Also aliased as: ==
# File actionview/lib/action_view/template/resolver.rb, line 313
def eql?(resolver)
  self.class.equal?(resolver.class) && to_path == resolver.to_path
end
to_path()
Alias for: to_s
to_s()
Also aliased as: to_path
# File actionview/lib/action_view/template/resolver.rb, line 308
def to_s
  @path.to_s
end