Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Time/gmtime-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Converts <em>time</em> to UTC (GMT), modifying the receiver.
- !ruby/struct:SM::Flow::VERB
body: " t = Time.now #=> Wed Apr 09 08:56:03 CDT 2003\n t.gmt? #=> false\n t.gmtime #=> Wed Apr 09 13:56:03 UTC 2003\n t.gmt? #=> true\n\n t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003\n t.utc? #=> false\n t.utc #=> Wed Apr 09 13:56:04 UTC 2003\n t.utc? #=> true\n"
full_name: Time#gmtime
is_singleton: false
name: gmtime
params: |
time.gmtime => time
time.utc => time
visibility: public