Class: Date
- Inherits:
-
Object
- Object
- Date
- Defined in:
- lib/merb_global/base.rb
Instance Method Summary collapse
Instance Method Details
#localize(format, args = {}) ⇒ Object
26 27 28 29 30 |
# File 'lib/merb_global/base.rb', line 26 def localize(format, args = {}) opts = {:locale => Merb::Global::Locale.current} opts.merge!(args) Merb::Global::DateProviders.provider.localize opts[:locale], self, format end |