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