Module: TRMNLP::CustomFilters
- Defined in:
- lib/trmnlp/custom_filters.rb
Instance Method Summary collapse
- #number_to_currency(*args) ⇒ Object
-
#number_with_delimiter(*args) ⇒ Object
TODO: sync up with core.
Instance Method Details
#number_to_currency(*args) ⇒ Object
10 11 12 |
# File 'lib/trmnlp/custom_filters.rb', line 10 def number_to_currency(*args) ActiveSupport::NumberHelper.number_to_currency(*args) end |
#number_with_delimiter(*args) ⇒ Object
TODO: sync up with core
6 7 8 |
# File 'lib/trmnlp/custom_filters.rb', line 6 def number_with_delimiter(*args) ActiveSupport::NumberHelper.number_to_delimited(*args) end |