Sha256: 91da284b297097ce3b024f868fd07641a2a6e4216b4d3d39a1484134010efdde

Contents?: true

Size: 409 Bytes

Versions: 3

Compression:

Stored size: 409 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module Components
    module Properties
      class ExtentsProperty
        include Goldendocx::Element

        namespace :wp
        tag :extent

        attribute :width, alias_name: :cx, default: Goldendocx::Components::DEFAULT_WIDTH
        attribute :height, alias_name: :cy, default: Goldendocx::Components::DEFAULT_HEIGHT
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/components/properties/extents_property.rb
goldendocx-0.2.3 lib/goldendocx/components/properties/extents_property.rb
goldendocx-0.2.2 lib/goldendocx/components/properties/extents_property.rb