aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/file.c b/file.c
index 70afb0ded5..dd05bb7038 100644
--- a/file.c
+++ b/file.c
@@ -892,6 +892,7 @@ rb_stat_ctime(VALUE self)
* stat.birthtime -> aTime
*
* Returns the birth time for <i>stat</i>.
+ *
* If the platform doesn't have birthtime, raises NotImplementedError.
*
* File.write("testfile", "foo")
@@ -2193,10 +2194,10 @@ rb_file_ctime(VALUE obj)
*
* _file_name_ can be an IO object.
*
- * Note that on Windows (NTFS), returns creation time (birth time).
- *
* File.birthtime("testfile") #=> Wed Apr 09 08:53:13 CDT 2003
*
+ * If the platform doesn't have birthtime, raises NotImplementedError.
+ *
*/
static VALUE
@@ -2221,10 +2222,10 @@ rb_file_s_birthtime(VALUE klass, VALUE fname)
*
* Returns the birth time for <i>file</i>.
*
- * Note that on Windows (NTFS), returns creation time (birth time).
- *
* File.new("testfile").birthtime #=> Wed Apr 09 08:53:14 CDT 2003
*
+ * If the platform doesn't have birthtime, raises NotImplementedError.
+ *
*/
static VALUE