method

directory?

ruby latest stable - Class: Net::FTP::MLSxEntry
directory?()
public

Returns true if the entry is a directory (i.e., the value of the type fact is dir, cdir, or pdir).