summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-05-06 18:13:22 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-05-06 18:13:22 +0900
commit67950a4c0a884bdb78d9beb4405ebf7459229b21 (patch)
treedd2ec45802abfb5bc8a01586fbaa81d1ef0cf393 /file.c
parentd79e0832a509fb24f4ccd41bfdff6638916c46e1 (diff)
Fix missing paren [ci skip]
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 1702614398..007a9cb88e 100644
--- a/file.c
+++ b/file.c
@@ -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
*
*/