kernel/common/codeloader.rb
# Returns true if the path exists, is a regular file, and is readable.
Returns true if the path exists, is a regular file, and is readable.
Returns true if the path exists is a regular file and is readable .
def loadable?(path)
      return false unless File.exists? path
      @stat = File.stat path
      @stat.file? and @stat.readable?
    end
def loadable? ( path ) return false unless File . exists? path @stat = File . stat path @stat . file? and @stat . readable? end
Returns true if the path exists, is a regular file, and is readable.
Returns true if the path exists is a regular file and is readable .
path
<not_specific>