Module: FantasticCurrency::ActiveRecord
- Defined in:
- lib/fantastic_currency.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
105 106 107 |
# File 'lib/fantastic_currency.rb', line 105 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#format_currency(value, options = {}) ⇒ Object
109 110 111 |
# File 'lib/fantastic_currency.rb', line 109 def format_currency(value, ={}) FantasticCurrency::Currency.format(value, ) end |