Class: TwitterCldr::Formatters::DecimalFormatter
- Inherits:
-
NumberFormatter
- Object
- Base
- NumberFormatter
- TwitterCldr::Formatters::DecimalFormatter
- Defined in:
- lib/twitter_cldr/formatters/numbers/decimal_formatter.rb
Constant Summary
Constants inherited from NumberFormatter
NumberFormatter::DEFAULT_SYMBOLS
Instance Attribute Summary
Attributes inherited from NumberFormatter
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from NumberFormatter
Constructor Details
This class inherits a constructor from TwitterCldr::Formatters::NumberFormatter
Instance Method Details
#format(number, options = {}) ⇒ Object
9 10 11 12 13 |
# File 'lib/twitter_cldr/formatters/numbers/decimal_formatter.rb', line 9 def format(number, = {}) super(number, ) rescue TypeError, ArgumentError number end |