lib/iqvoc/configuration/concept.rb
# returns hash of class name / languages pairs
# e.g. { "Labeling::SKOS::AltLabel" => ["de", "en"] }
returns hash of class name / languages pairs
e.g.
returns hash of class name / languages pairs e . g .
def further_labeling_class_names
          return Iqvoc.config.defaults.each_with_object({}) do |(key, default_value), hsh|
            prefix = 'languages.further_labelings.'
            if key.start_with? prefix
              class_name = key[prefix.length..-1]
              hsh[class_name] = Iqvoc.config[key]
            end
          end
        end
def further_labeling_class_names return Iqvoc . config . defaults . each_with_object ( { } ) do | ( key , default_value ) , hsh | prefix = 'languages.further_labelings.' if key . start_with? prefix class_name = key [ prefix . length .. - 1 ] hsh [ class_name ] = Iqvoc . config [ key ] end end end
returns hash of class name / languages pairs
e.g.
returns hash of class name / languages pairs e . g .
# FIXME: mutable object; needs custom hash setters to guard against # modification of languages arrays (to highlight deprecated usage)