summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-24 12:50:12 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-24 12:50:12 +0000
commit2265bdfac32d4551d76ab1da4fc2c891057c9916 (patch)
tree5e99a86ead0d465e0a780486d691fbbab651fc71 /file.c
parent83c10e890529f9c557977c0e1932280268914d96 (diff)
update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
-rw-r--r--file.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/file.c b/file.c
index 182c3f1297..d14c22ee36 100644
--- a/file.c
+++ b/file.c
@@ -2241,7 +2241,7 @@ lchown_internal(const char *path, VALUE pathv, void *arg)
/*
* call-seq:
- * file.lchown(owner_int, group_int, file_name,..) -> integer
+ * File.lchown(owner_int, group_int, file_name,..) -> integer
*
* Equivalent to <code>File::chown</code>, but does not follow symbolic
* links (so it will change the owner associated with the link, not the
@@ -3775,7 +3775,7 @@ rb_file_s_basename(int argc, VALUE *argv)
/*
* call-seq:
- * File.dirname(file_name ) -> dir_name
+ * File.dirname(file_name) -> dir_name
*
* Returns all components of the filename given in <i>file_name</i>
* except the last one. The filename can be formed using both
@@ -4206,7 +4206,7 @@ rb_thread_flock(void *data)
/*
* call-seq:
- * file.flock (locking_constant )-> 0 or false
+ * file.flock(locking_constant) -> 0 or false
*
* Locks or unlocks a file according to <i>locking_constant</i> (a
* logical <em>or</em> of the values in the table below).
@@ -4311,14 +4311,14 @@ test_check(int n, int argc, VALUE *argv)
/*
* call-seq:
- * test(int_cmd, file1 [, file2] ) -> obj
+ * test(cmd, file1 [, file2] ) -> obj
*
- * Uses the integer +int_cmd+ to perform various tests on +file1+ (first
+ * Uses the integer +cmd+ to perform various tests on +file1+ (first
* table below) or on +file1+ and +file2+ (second table).
*
* File tests on a single file:
*
- * Test Returns Meaning
+ * Cmd Returns Meaning
* "A" | Time | Last access time for file1
* "b" | boolean | True if file1 is a block device
* "c" | boolean | True if file1 is a character device