Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/twitter_cldr/core_ext/array.rb

Overview

Copyright 2012 Twitter, Inc www.apache.org/licenses/LICENSE-2.0

Instance Method Summary collapse

Instance Method Details

#localize(locale = TwitterCldr.get_locale) ⇒ Object


7
8
9
# File 'lib/twitter_cldr/core_ext/array.rb', line 7

def localize(locale = TwitterCldr.get_locale)
  TwitterCldr::LocalizedArray.new(self, locale)
end