Ruby 1.8.7 Reference Manual > All Libraries > Builtin Library > class File > blockdev?

singleton method File.blockdev?

blockdev?(path) -> bool

FileTest.#blockdev? と同じです。

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