Mini Shell
--- !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#utc
is_singleton: false
name: utc
params: |
time.gmtime => time
time.utc => time
visibility: public
Zerion Mini Shell 1.0