Class: View::Currency
- Inherits:
-
Formatter
- Object
- Formatter
- View::Currency
- Defined in:
- lib/view/formatters/currency.rb
Overview
Delegate rendering to the number_to_currency helper from Rails.
Instance Attribute Summary
Attributes inherited from Formatter
Instance Method Summary (collapse)
Methods inherited from Formatter
#all_options, as, #format!, inherited, #options, skip_blank_formatter, #to_s, type
Instance Method Details
- (Object) format
9 10 11 |
# File 'lib/view/formatters/currency.rb', line 9 def format template.number_to_currency(value, ) end |