method
blockdev?
v2_2_9 -
Show latest stable
- Class:
FileTest
blockdev?(p1)public
Returns true if the named file is a block device.
file_name can be an IO object.
blockdev?(p1)Returns true if the named file is a block device.
file_name can be an IO object.