Sha256: 1a4962cb0d6076f0227ccbad1d84a6ebf836b8fc6626713602ca9c19f1f8f947
Contents?: true
Size: 292 Bytes
Versions: 30
Compression:
Stored size: 292 Bytes
Contents
module Blacklight class Configuration::SolrField < OpenStructWithHashAccess def normalize! blacklight_config self.label ||= self.field.try(:titleize) end def validate! raise ArgumentError.new("Must supply a solr field name") if self.field.nil? end end end
Version data entries
30 entries across 30 versions & 1 rubygems