Class: CDMBL::CollectionDescriptionFormatter
- Inherits:
-
Object
- Object
- CDMBL::CollectionDescriptionFormatter
- Defined in:
- lib/cdmbl/formatters.rb
Class Method Summary collapse
Class Method Details
.format(value) ⇒ Object
129 130 131 132 |
# File 'lib/cdmbl/formatters.rb', line 129 def self.format(value) value['oai_sets'].fetch(value['setSpec'], {}) .fetch(:description, '') end |