Sha256: 5064ad63b3cc29a2126287fd0363a7f37b13b68433948abc26704af2b74802c7

Contents?: true

Size: 1.52 KB

Versions: 12

Compression:

Stored size: 1.52 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	mday:@docstringIC:YARD::Docstring"˜Returns the day of the month (1..n) for <i>time</i>.

   t = Time.now   #=> Wed Apr 09 08:56:03 CDT 2003
   t.day          #=> 9
   t.mday         #=> 9
:@objectu:YARD::StubProxyTime#mday:
@summary0:	@all"ÝReturns the day of the month (1..n) for <i>time</i>.

   t = Time.now   #=> Wed Apr 09 08:56:03 CDT 2003
   t.day          #=> 9
   t.mday         #=> 9


@overload day
  @return [Fixnum]
@overload mday
  @return [Fixnum]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Time#mday;:day;IC;	"
;
u;Time#mday;0;
"@return [Fixnum];[;[o:YARD::Tags::Tag
;
0;0:@types["Fixnum:
@text":@tag_name"return;0:@parameters[;0:@signature"day;"
overloado;
;
u;Time#mday;;;IC;	"
;
u;Time#mday;0;
"@return [Fixnum];[;[o;
;
0;0;["Fixnum;";"return;0;[;0;"	mday;"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["time.c0:@namespaceu;	Time:
@path"Time#mday;[:@visibility:public:@source"×/*
 *  call-seq:
 *     time.day  => fixnum
 *     time.mday => fixnum
 *  
 *  Returns the day of the month (1..n) for <i>time</i>.
 *     
 *     t = Time.now   #=> Wed Apr 09 08:56:03 CDT 2003
 *     t.day          #=> 9
 *     t.mday         #=> 9
 */

static VALUE
time_mday(time)
    VALUE time;
{
    struct time_object *tobj;

    GetTimeval(time, tobj);
    if (tobj->tm_got == 0) {
    time_get_tm(time, tobj->gmt);
    }
    return INT2FIX(tobj->tm.tm_mday);
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Time/mday_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Time/mday_i.dat