class ActionDispatch::FileHandler

def file_readable?(path)

Experimental RBS support (using type sampling data from the type_fusion project).

def file_readable?: (String path) -> false

This signature was generated using 1 sample from 1 application.

def file_readable?(path)
  file_path = File.join(@root, path.b)
  File.file?(file_path) && File.readable?(file_path)
end