instance method expand_file

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v3.2.22.5 Private — implementation detail, not part of the public API

Signature

expand_file(path, glob)

No documentation comment.

Parameters

path req
glob req
Source
# File railties/lib/rails/paths.rb, line 200
      def expand_file(path, glob)
        Dir[File.join(path, glob)].sort
      end

Defined in railties/lib/rails/paths.rb line 200 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Paths::Path

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close