lib/formatters/plurals/rules.rb in twitter_cldr-1.0.1 vs lib/formatters/plurals/rules.rb in twitter_cldr-1.1.0
- old
+ new
@@ -1,7 +1,10 @@
# encoding: UTF-8
+# Copyright 2012 Twitter, Inc
+# http://www.apache.org/licenses/LICENSE-2.0
+
module TwitterCldr
module Formatters
module Plurals
class Rules
class << self
@@ -25,10 +28,10 @@
protected
def get_resource(locale)
locale = TwitterCldr.convert_locale(locale)
- eval(TwitterCldr.resources.resource_for(locale, "plurals")[locale])
+ eval(TwitterCldr.get_resource(locale, "plurals")[locale])
end
end
end
end
end
\ No newline at end of file