1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix missing paren [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2022-05-06 18:13:22 +09:00
parent d79e0832a5
commit 67950a4c0a
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

4
file.c
View file

@ -1734,8 +1734,8 @@ rb_file_socket_p(VALUE obj, VALUE fname)
*
* Returns +true+ if +filepath+ points to a block device, +false+ otherwise:
*
* File.blockdev?('/dev/sda1') # => true
* File.blockdev?(File.new('t.tmp') # => false
* File.blockdev?('/dev/sda1') # => true
* File.blockdev?(File.new('t.tmp')) # => false
*
*/