Class: Hyrax::SolrDocument::Metadata::Solr::String
- Inherits:
-
Object
- Object
- Hyrax::SolrDocument::Metadata::Solr::String
- Defined in:
- app/models/concerns/hyrax/solr_document/metadata.rb
Class Method Summary collapse
Class Method Details
.coerce(input) ⇒ String
27 28 29 |
# File 'app/models/concerns/hyrax/solr_document/metadata.rb', line 27 def self.coerce(input) ::Array.wrap(input).first end |