--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns true if the file is a block device, false if it isn't or if the operating system doesn't support this feature. - !ruby/struct:SM::Flow::VERB body: " File.stat("testfile").blockdev? #=> false\n File.stat("/dev/hda1").blockdev? #=> true\n" full_name: File::Stat#blockdev? is_singleton: false name: blockdev? params: | stat.blockdev? => true or false visibility: public