class method
self.new
Ruby on Rails 5.2.8.1
Since v3.0.20Signature
self.new(hash = {}, pattern = nil)
No documentation comment.
Parameters
-
hashopt = {} -
patternopt = nil
Source
# File actionview/lib/action_view/testing/resolvers.rb, line 13
def initialize(hash = {}, pattern = nil)
super(pattern)
@hash = hash
end
Defined in actionview/lib/action_view/testing/resolvers.rb line 13
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::FixtureResolver