From 073043ff03d749bf4e929dda3f5e614c8109a129 Mon Sep 17 00:00:00 2001 From: Rob Zolkos Date: Tue, 1 May 2012 21:16:56 +1000 Subject: [PATCH] Add documention for utc_offset method --- activesupport/lib/active_support/values/time_zone.rb | 1 + 1 file changed, 1 insertion(+) 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 @@ def initialize(name, utc_offset = nil, tzinfo = nil) @current_period = nil end + # Returns the offset of this time zone in seconds. def utc_offset if @utc_offset @utc_offset -- GitLab