singleton method File.chardev?

chardev?(path) -> bool[permalink][rdoc][edit]

FileTest.#chardev? と同じです。

[PARAM] path:
パスを表す文字列か IO オブジェクトを指定します。