class CDMDEXER::CollectionDescriptionFormatter

Public Class Methods

format(value) click to toggle source
# File lib/cdmdexer/formatters.rb, line 141
def self.format(value)
  value['oai_sets'].fetch(value['setSpec'], {})
                   .fetch(:description, '')
end