Class: Date

Inherits:
Object
  • Object
show all
Defined in:
lib/twitter_cldr/core_ext/calendars/date.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, options = {}) ⇒ Object


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

def localize(locale = TwitterCldr.get_locale, options = {})
  TwitterCldr::LocalizedDate.new(self, locale, options)
end