Method: ROM::Factory::TupleEvaluator#defaults
- Defined in:
- lib/rom/factory/tuple_evaluator.rb
#defaults(traits, attrs, **opts) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
57 58 59 60 |
# File 'lib/rom/factory/tuple_evaluator.rb', line 57 def defaults(traits, attrs, **opts) mergeable_attrs = select_mergeable_attrs(traits, attrs) evaluate(traits, attrs, opts).merge(mergeable_attrs) end |