Sha256: b38e46264e58e0ca1b5eba03053a30ed549bdb61848cbf57f81103cb152d7adc

Contents?: true

Size: 376 Bytes

Versions: 2

Compression:

Stored size: 376 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module ContentTypes
    class Override
      include Goldendocx::Element

      tag :Override

      attribute :part_name, alias_name: :PartName
      attribute :content_type, alias_name: :ContentType

      def ==(other)
        part_name == other.part_name && content_type == other.content_type
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/content_types/override.rb
goldendocx-0.2.3 lib/goldendocx/content_types/override.rb