Ruby/File Directory/chardev
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
chardev? Returns true if the file is a character device
File.stat("/dev/tty").chardev? File.stat("testfile").chardev?
Личные инструменты |
ПросмотрыRuby/File Directory/chardevМатериал из Wiki.crossplatform.ruВерсия от 17:10, 26 мая 2010; (Обсуждение)
chardev? Returns true if the file is a character deviceFile.stat("/dev/tty").chardev? File.stat("testfile").chardev? |