Class: Solrizer::DefaultDescriptors::MarcCodeDisplayDescriptor

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



126
127
128
# File 'lib/cul_scv_hydra/solrizer/field_mapper.rb', line 126

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