Sha256: 1d812a3bab53e2f8b80ca09442ca05239410e245f581060de70a47079491b58b
Contents?: true
Size: 461 Bytes
Versions: 3
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true require_relative "base_mapper" module LocMods class NonSort < BaseMapper attribute :content, Shale::Type::String attribute :space, Shale::Type::String xml do root "nonSort" namespace "http://www.loc.gov/mods/v3", nil map_content to: :content map_attribute "space", to: :space, namespace: "http://www.w3.org/XML/1998/namespace", prefix: "xml" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
loc_mods-0.2.4 | lib/loc_mods/non_sort.rb |
loc_mods-0.2.3 | lib/loc_mods/non_sort.rb |
loc_mods-0.2.2 | lib/loc_mods/non_sort.rb |