method
files_in
v7.2.3 -
Show latest stable
- Class:
Rails::Paths::Path
files_in(path)private
No documentation available.
# File railties/lib/rails/paths.rb, line 238
def files_in(path)
files = Dir.glob(@glob, base: path)
files -= @exclude if @exclude
files.map! { |file| File.join(path, file) }
files.sort
end