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