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
24 25 26 |
# File 'app/models/concerns/hyrax/solr_document/metadata.rb', line 24 def self.coerce(input) ::Array.wrap(input).first end |