Module: Amountable
- Extended by:
- ActiveSupport::Autoload
- Defined in:
- lib/amountable.rb,
lib/amountable/amount.rb,
lib/amountable/version.rb,
lib/amountable/nil_amount.rb,
lib/amountable/operations.rb,
lib/amountable/jsonb_methods.rb,
lib/amountable/table_methods.rb
Overview
Copyright 2015-2016, Instacart
Defined Under Namespace
Modules: ClassMethods, InstanceMethods, JsonbMethods, Operations, TableMethods Classes: Amount, InvalidAmountName, MissingColumn, NilAmount
Constant Summary collapse
- ALLOWED_STORAGE =
i(table json).freeze
- VERSION =
'0.2.0'
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
17 18 19 |
# File 'lib/amountable.rb', line 17 def self.included(base) base.extend Amountable::ClassMethods end |