Class: OpenXml::Docx::Properties::Border

Inherits:
ComplexProperty show all
Defined in:
lib/openxml/docx/properties/border.rb

Instance Attribute Summary collapse

Attributes inherited from BaseProperty

#value

Instance Method Summary collapse

Methods inherited from ComplexProperty

#render?, #to_xml

Methods inherited from BaseProperty

#default_name, #default_namespace, #default_tag, name, #name, namespace, #namespace, #render?, tag, tag_is_one_of

Constructor Details

#initialize(tag = :bdr) ⇒ Border

Returns a new instance of Border.



19
20
21
# File 'lib/openxml/docx/properties/border.rb', line 19

def initialize(tag=:bdr)
  @tag = tag
end

Instance Attribute Details

#tagObject (readonly)

Returns the value of attribute tag.



5
6
7
# File 'lib/openxml/docx/properties/border.rb', line 5

def tag
  @tag
end