instance method
existent
Ruby on Rails 3.1.12
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 193
def existent
expanded.select { |f| File.exists?(f) }
end
Defined in railties/lib/rails/paths.rb line 193
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Paths::Path