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

Instance Method Details

#localize(lang, number) ⇒ Object

Localize date using format as in strftime

Raises:

  • (NoMethodError)


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