Flowdock
chardev?() public

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
Show source
Register or log in to add new notes.