instance method
template_glob
Ruby on Rails 8.1.2
Since v7.0.10 PrivateSignature
template_glob(glob)
No documentation comment.
Parameters
-
globreq
Source
# File actionview/lib/action_view/testing/resolvers.rb, line 26
def template_glob(glob)
@hash.keys.filter_map do |path|
"/#{path}" if File.fnmatch(glob, path)
end
end
Defined in actionview/lib/action_view/testing/resolvers.rb line 26
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionView::FixtureResolver