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