Sha256: ec7f43a6a41c35aba7dc51436ffd7450ce5caa70cca9a5d7ec3c08e85cdcbd07

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

# frozen_string_literal: true

module Niso
  module Jats
    class Ruby < Lutaml::Model::Serializable
      attribute :content_type, :string
      attribute :id, :string
      attribute :specific_use, :string
      attribute :rb, Rb
      attribute :rt, Rt

      xml do
        root "ruby"

        map_attribute "content-type", to: :content_type
        map_attribute "id", to: :id
        map_attribute "specific-use", to: :specific_use
        map_element "rb", to: :rb
        map_element "rt", to: :rt
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
niso-jats-0.1.1 lib/niso/jats/ruby.rb