Class: OpenXml::Docx::Elements::WordProcessingDrawingWrapCoordinate

Inherits:
OpenXml::Docx::Element show all
Defined in:
lib/openxml/docx/elements/word_processing_drawing_wrap_coordinate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tag) ⇒ WordProcessingDrawingWrapCoordinate

Returns a new instance of WordProcessingDrawingWrapCoordinate.

Raises:

  • (ArgumentError)

12
13
14
15
# File 'lib/openxml/docx/elements/word_processing_drawing_wrap_coordinate.rb', line 12

def initialize(tag)
  raise ArgumentError, "Tag must be one of #{ok_tags.join(", ")}" unless ok_tags.include? tag
  @tag = tag
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag


7
8
9
# File 'lib/openxml/docx/elements/word_processing_drawing_wrap_coordinate.rb', line 7

def tag
  @tag
end