Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Time/zone-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the name of the time zone used for <em>time</em>. As of Ruby 1.8, returns ``UTC'' rather than ``GMT'' for UTC times.
- !ruby/struct:SM::Flow::VERB
body: " t = Time.gm(2000, "jan", 1, 20, 15, 1)\n t.zone #=> "UTC"\n t = Time.local(2000, "jan", 1, 20, 15, 1)\n t.zone #=> "CST"\n"
full_name: Time#zone
is_singleton: false
name: zone
params: |
time.zone => string
visibility: public