Method: Decanter::Extensions::ClassMethods#decant
- Defined in:
- lib/decanter/extensions.rb
#decant(args, options = {}) ⇒ Object
37 38 39 |
# File 'lib/decanter/extensions.rb', line 37 def decant(args, ={}) is_collection?(args, [:is_collection]) ? decant_collection(args, ) : decant_args(args, ) end |