Sha256: 880affb4ac0418b8f1ad85a66b7c29a2415e72caf2bd35a8696fe5856377dbee

Contents?: true

Size: 1.29 KB

Versions: 16

Compression:

Stored size: 1.29 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:
atime:@docstringIC:YARD::Docstring"€Returns the last access time for the named file as a Time object).

   File.atime("testfile")   #=> Wed Apr 09 08:51:48 CDT 2003
:@objectu:YARD::StubProxyFile.atime:
@summary0:	@all"¯Returns the last access time for the named file as a Time object).

   File.atime("testfile")   #=> Wed Apr 09 08:51:48 CDT 2003



@overload atime(file_name)
  @return [Time]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;File.atime;;;IC;	"
;
u;File.atime;0;
"@return [Time];[;[o:YARD::Tags::Tag
;
0;0:@types["	Time:
@text":@tag_name"return;0:@parameters[[:file_name0;0:@signature"atime(file_name);"
overload:@current_file_has_commentsF:@scope:
class;[:@docstring_extra0:@files[["file.c0:@namespaceu;	File:
@path"File.atime;[:@visibility:public:@source"§/*
 *  call-seq:
 *     File.atime(file_name)  =>  time
 *  
 *  Returns the last access time for the named file as a Time object).
 *     
 *     File.atime("testfile")   #=> Wed Apr 09 08:51:48 CDT 2003
 *     
 */

static VALUE
rb_file_s_atime(klass, fname)
    VALUE klass, fname;
{
    struct stat st;

    if (rb_stat(fname, &st) < 0)
    rb_sys_fail(StringValueCStr(fname));
    return rb_time_new(st.st_atime, 0);
}:@source_type:c

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
pry-doc-0.5.1 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.5.0 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.6 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.5 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/File/atime_c.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/File/atime_c.dat