mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* file.c, ext/pathname/pathname.c: [DOC] correct position of method rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
094949cb0a
commit
9f051c80dc
2 changed files with 4 additions and 4 deletions
|
@ -440,6 +440,7 @@ path_atime(VALUE self)
|
|||
return rb_funcall(rb_cFile, rb_intern("atime"), 1, get_strpath(self));
|
||||
}
|
||||
|
||||
#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) || defined(_WIN32)
|
||||
/*
|
||||
* call-seq:
|
||||
* pathname.birthtime -> time
|
||||
|
@ -449,7 +450,6 @@ path_atime(VALUE self)
|
|||
*
|
||||
* See File.birthtime.
|
||||
*/
|
||||
#if defined(HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC) || defined(_WIN32)
|
||||
static VALUE
|
||||
path_birthtime(VALUE self)
|
||||
{
|
||||
|
|
6
file.c
6
file.c
|
@ -849,6 +849,7 @@ rb_stat_ctime(VALUE self)
|
|||
return stat_ctime(get_stat(self));
|
||||
}
|
||||
|
||||
#if defined(HAVE_STAT_BIRTHTIME)
|
||||
/*
|
||||
* call-seq:
|
||||
* stat.birthtime -> aTime
|
||||
|
@ -870,7 +871,6 @@ rb_stat_ctime(VALUE self)
|
|||
*
|
||||
*/
|
||||
|
||||
#if defined(HAVE_STAT_BIRTHTIME)
|
||||
static VALUE
|
||||
rb_stat_birthtime(VALUE self)
|
||||
{
|
||||
|
@ -2131,6 +2131,7 @@ rb_file_ctime(VALUE obj)
|
|||
return stat_ctime(&st);
|
||||
}
|
||||
|
||||
#if defined(HAVE_STAT_BIRTHTIME)
|
||||
/*
|
||||
* call-seq:
|
||||
* File.birthtime(file_name) -> time
|
||||
|
@ -2145,7 +2146,6 @@ rb_file_ctime(VALUE obj)
|
|||
*
|
||||
*/
|
||||
|
||||
#if defined(HAVE_STAT_BIRTHTIME)
|
||||
static VALUE
|
||||
rb_file_s_birthtime(VALUE klass, VALUE fname)
|
||||
{
|
||||
|
@ -2161,6 +2161,7 @@ rb_file_s_birthtime(VALUE klass, VALUE fname)
|
|||
# define rb_file_s_birthtime rb_f_notimplement
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_STAT_BIRTHTIME)
|
||||
/*
|
||||
* call-seq:
|
||||
* file.birthtime -> time
|
||||
|
@ -2173,7 +2174,6 @@ rb_file_s_birthtime(VALUE klass, VALUE fname)
|
|||
*
|
||||
*/
|
||||
|
||||
#if defined(HAVE_STAT_BIRTHTIME)
|
||||
static VALUE
|
||||
rb_file_birthtime(VALUE obj)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue