Current Path : /usr/local/share/ri/1.8/system/Time/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/Time/getgm-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new <tt>new_time</tt> object representing <em>time</em> in UTC. - !ruby/struct:SM::Flow::VERB body: " t = Time.local(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 CST 2000\n t.gmt? #=> false\n y = t.getgm #=> Sun Jan 02 02:15:01 UTC 2000\n y.gmt? #=> true\n t == y #=> true\n" full_name: Time#getgm is_singleton: false name: getgm params: | time.getgm => new_time time.getutc => new_time visibility: public