Module: Merb::Global::NumericProviders::Base
- Defined in:
- lib/merb_global/numeric_providers.rb
Overview
Merb-global is able to handle localization in different ways. Providers are the interface.
Please note that it is not required to include this module - despite it is recomended both as a documentation part and the more customized error messages.
Instance Method Summary collapse
-
#localize(lang, number) ⇒ Object
Localize date using format as in strftime.
Instance Method Details
#localize(lang, number) ⇒ Object
Localize date using format as in strftime
27 28 29 |
# File 'lib/merb_global/numeric_providers.rb', line 27 def localize(lang, number) raise NoMethodError.new('method localize has not been implemented') end |