aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/values
diff options
context:
space:
mode:
authorRob Zolkos <robzolkos@gmail.com>2012-05-01 21:16:56 +1000
committerRob Zolkos <robzolkos@gmail.com>2012-05-01 21:16:56 +1000
commit073043ff03d749bf4e929dda3f5e614c8109a129 (patch)
tree59f46bba26c9718b518d8ca48ddf79be467f1b88 /activesupport/lib/active_support/values
parentb8d2fecbf5979816c8dd70af116595f8c762b582 (diff)
downloadrails-073043ff03d749bf4e929dda3f5e614c8109a129.tar.gz
rails-073043ff03d749bf4e929dda3f5e614c8109a129.tar.bz2
rails-073043ff03d749bf4e929dda3f5e614c8109a129.zip
Add documention for utc_offset method
Diffstat (limited to 'activesupport/lib/active_support/values')
-rw-r--r--activesupport/lib/active_support/values/time_zone.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb
index ce46c46092..2ad3ac5c6d 100644
--- a/activesupport/lib/active_support/values/time_zone.rb
+++ b/activesupport/lib/active_support/values/time_zone.rb
@@ -202,6 +202,7 @@ module ActiveSupport
@current_period = nil
end
+ # Returns the offset of this time zone in seconds.
def utc_offset
if @utc_offset
@utc_offset