Class: Numeric

Inherits:
Object
  • Object
show all
Defined in:
lib/merb_global/base.rb

Instance Method Summary collapse

Instance Method Details

#localize(args = {}) ⇒ Object



18
19
20
21
22
# File 'lib/merb_global/base.rb', line 18

def localize(args = {})
  opts = {:locale => Merb::Global::Locale.current}
  opts.merge!(args)
  Merb::Global::NumericProviders.provider.localize opts[:locale], self
end