class Pry::CodeFile

def readable?(path)

Returns:
  • (Boolean) - if the path, with or without the default ext,

Parameters:
  • path (String) --
def readable?(path)
  File.readable?(path) && !File.directory?(path) ||
    File.readable?(path << DEFAULT_EXT)
end