stat.chardev? â true or false
Instance Public methods
Returns true
if the file is a character device,
false
if it isn't or if the operating system doesn't
support this feature.
File.stat("/dev/tty").chardev? #=> true
Returns true
if the file is a character device,
false
if it isn't or if the operating system doesn't
support this feature.
File.stat("/dev/tty").chardev? #=> true
Please login to continue.