instance method
files_in
Ruby on Rails 6.1.7.10
Since v6.0.6 PrivateSignature
files_in(path)
No documentation comment.
Parameters
-
pathreq
Source
# File railties/lib/rails/paths.rb, line 235
def files_in(path)
files = Dir.glob(@glob, base: path)
files -= @exclude if @exclude
files.map! { |file| File.join(path, file) }
files.sort
end
Defined in railties/lib/rails/paths.rb line 235
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Paths::Path