method
new
v6.0.0 -
Show latest stable
- Class:
ActionView::FixtureResolver
new(hash = {}, pattern = nil)public
No documentation available.
# File actionview/lib/action_view/testing/resolvers.rb, line 11
def initialize(hash = {}, pattern = nil)
super("")
if pattern
ActiveSupport::Deprecation.warn "Specifying a custom path for #{self.class} is deprecated. Implement a custom Resolver subclass instead."
@pattern = pattern
end
@hash = hash
@path = ""
end