app/indexers/object_indexer.rb
# Returns the rdf label if it's a URI, otherwise the value itself.
#
# @return [NilClass, Array] Union of all the MARC relators. If non
#     exist, return nil
Returns the rdf label if it's a URI, otherwise the value itself.
Returns the rdf label if it ' s a URI otherwise the value itself .
def all_contributors_combined
      Metadata::RELATIONS.keys.map do |field|
        next if object[field].empty?
        object[field].map do |val|
          val.respond_to?(:rdf_label) ? val.rdf_label.first : val
        end
      end.flatten.compact
    end
def all_contributors_combined Metadata :: RELATIONS . keys . map do | field | next if object [ field ] . empty? object [ field ] . map do | val | val . respond_to? ( :rdf_label ) ? val . rdf_label . first : val end end . flatten . compact end
Returns the rdf label if it's a URI, otherwise the value itself.
Returns the rdf label if it ' s a URI otherwise the value itself .
Union of all the MARC relators. If non exist, return nil
Union of all the MARC relators . If non exist return nil
NilClass, Array