Class: Solrizer::DefaultDescriptors::MarcCodeFacetDescriptor

Inherits:
Solrizer::Descriptor
  • Object
show all
Includes:
Normal
Defined in:
lib/cul_scv_hydra/solrizer/field_mapper.rb

Instance Method Summary collapse

Methods included from Normal

#normal, #normal!

Instance Method Details

#converter(field_type) ⇒ Object



119
120
121
# File 'lib/cul_scv_hydra/solrizer/field_mapper.rb', line 119

def converter(field_type)
  lambda {|value| I18n.t("ldpd.short.repo.#{normal!(value)}")}
end