instance method
expand_dir
Ruby on Rails 3.2.22.5
Since v3.2.22.5 Last seen in v3.2.22.5 PrivateSignature
expand_dir(path, glob)
No documentation comment.
Parameters
-
pathreq -
globreq
Source
# File railties/lib/rails/paths.rb, line 204
def expand_dir(path, glob)
Dir.chdir(path) do
Dir.glob(@glob).map { |file| File.join path, file }.sort
end
end
Defined in railties/lib/rails/paths.rb line 204
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Paths::Path