instance method template_glob

Ruby on Rails 7.0.10

Since v7.0.10 Private

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

template_glob(glob)

No documentation comment.

Parameters

glob req
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close