mrblib/sftp/stat.rb
# Returns true if these attributes appear to describe a regular file.
#
# @return [ Boolean ]
Returns true if these attributes appear to describe a regular file.
Returns true if these attributes appear to describe a regular file .
def file?
      case type
      when T_REGULAR then true
      when T_UNKNOWN then nil
      else false
      end
    end
def file? case type when T_REGULAR then true when T_UNKNOWN then nil else false end end
Returns true if these attributes appear to describe a regular file.
Returns true if these attributes appear to describe a regular file .
None
 Boolean 