Sha256: 648d5febdad990fa64743617c87499aa1d7f28f0c5ac6a96b5a4a68e8c16f883

Contents?: true

Size: 375 Bytes

Versions: 2

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module ContentTypes
    class Default
      include Goldendocx::Element

      tag :Default

      attribute :extension, alias_name: :Extension
      attribute :content_type, alias_name: :ContentType

      def ==(other)
        extension == other.extension && 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/default.rb
goldendocx-0.2.3 lib/goldendocx/content_types/default.rb