--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new new_time object representing time 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