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
98 99 100 |
# File 'lib/fantastic_currency.rb', line 98 def self.included(base) base.extend(ClassMethods) end |
Instance Method Details
#format_currency(value, options = {}) ⇒ Object
102 103 104 |
# File 'lib/fantastic_currency.rb', line 102 def format_currency(value, ={}) FantasticCurrency::Currency.format(value, ) end |