Method: ROM::Factory::TupleEvaluator#build_assoc?

Defined in:
lib/rom/factory/tuple_evaluator.rb

#build_assoc?(name, attributes) ⇒ Boolean

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.

Returns:

  • (Boolean)


96
97
98
# File 'lib/rom/factory/tuple_evaluator.rb', line 96

def build_assoc?(name, attributes)
  attributes.key?(name) && attributes[name] != [] && !attributes[name].nil?
end