diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-16 11:50:15 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-03-16 11:50:15 -0700 |
commit | 4c8a5a0087774f7c8dbdd8900bea1276735d1c54 (patch) | |
tree | 7d2e616539f587a53d4ed4a47c0a5db622f08b67 /activesupport/lib | |
parent | 273054d6e1dbc9ee610a28f6349e48e76324fde1 (diff) | |
download | rails-4c8a5a0087774f7c8dbdd8900bea1276735d1c54.tar.gz rails-4c8a5a0087774f7c8dbdd8900bea1276735d1c54.tar.bz2 rails-4c8a5a0087774f7c8dbdd8900bea1276735d1c54.zip |
removed unnecessary calls to "freeze"
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/values/time_zone.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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(':', '') |