instance method
existent
Ruby on Rails 4.2.9
Since v3.1.12Signature
existent()
Returns all expanded paths but only if they exist in the filesystem.
Source
# File railties/lib/rails/paths.rb, line 200
def existent
expanded.select { |f| File.exist?(f) }
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