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