From 4c8a5a0087774f7c8dbdd8900bea1276735d1c54 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 16 Mar 2012 11:50:15 -0700 Subject: removed unnecessary calls to "freeze" --- activesupport/lib/active_support/values/time_zone.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'activesupport/lib') diff --git a/activesupport/lib/active_support/values/time_zone.rb b/activesupport/lib/active_support/values/time_zone.rb index 1dfbcd11b0..da8808cb21 100644 --- a/activesupport/lib/active_support/values/time_zone.rb +++ b/activesupport/lib/active_support/values/time_zone.rb @@ -168,8 +168,7 @@ module ActiveSupport "Auckland" => "Pacific/Auckland", "Wellington" => "Pacific/Auckland", "Nuku'alofa" => "Pacific/Tongatapu" - }.each { |name, zone| name.freeze; zone.freeze } - MAPPING.freeze + } UTC_OFFSET_WITH_COLON = '%s%02d:%02d' UTC_OFFSET_WITHOUT_COLON = UTC_OFFSET_WITH_COLON.sub(':', '') -- cgit v1.2.3