diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-01 05:04:00 -0700 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2012-05-01 05:04:00 -0700 |
commit | bb52fb01a4df48b92c770c5a6479e2b8c13bbde8 (patch) | |
tree | 5be642c54054a53cee61b5444a8ee39e442b28e6 | |
parent | 6e8f2be51ad4e200cd9231a0591facc252cbf0c4 (diff) | |
parent | 073043ff03d749bf4e929dda3f5e614c8109a129 (diff) | |
download | rails-bb52fb01a4df48b92c770c5a6479e2b8c13bbde8.tar.gz rails-bb52fb01a4df48b92c770c5a6479e2b8c13bbde8.tar.bz2 rails-bb52fb01a4df48b92c770c5a6479e2b8c13bbde8.zip |
Merge pull request #95 from RobZolkos/add_doc_for_utc_offset
Add documention for utc_offset method
-rw-r--r-- | activesupport/lib/active_support/values/time_zone.rb | 1 |
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 |