method
file_readable?
v7.0.0 -
Show latest stable
- Class:
ActionDispatch::FileHandler
file_readable?(path)private
No documentation available.
# File actionpack/lib/action_dispatch/middleware/static.rb, line 138
def file_readable?(path)
file_path = File.join(@root, path.b)
File.file?(file_path) && File.readable?(file_path)
end