removed unnecessary calls to "freeze"

This commit is contained in:
Aaron Patterson 2012-03-16 11:50:15 -07:00
parent 273054d6e1
commit 4c8a5a0087
1 changed files with 1 additions and 2 deletions

View File

@ -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(':', '')