lib/apia/polymorph.rb
# Collate all objects that this polymorph references and add them to the
# given object set
#
# @param set [Apia::ObjectSet]
# @return [void]
Collate all objects that this polymorph references and add them to the
given object set
Collate all objects that this polymorph references and add them to the given object set
def collate_objects(set)
        definition.options.each_value do |opt|
          set.add_object(opt.type.klass) if opt.type.usable_for_field?
        end
      end
def collate_objects ( set ) definition . options . each_value do | opt | set . add_object ( opt . type . klass ) if opt . type . usable_for_field? end end
Collate all objects that this polymorph references and add them to the
given object set
Collate all objects that this polymorph references and add them to the given object set
None
void
set
<not_specific>
<not_specific>
None