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