Class: OpenXml::Docx::Properties::Border
- Inherits:
-
ComplexProperty
- Object
- BaseProperty
- ComplexProperty
- OpenXml::Docx::Properties::Border
- Defined in:
- lib/openxml/docx/properties/border.rb
Instance Attribute Summary collapse
-
#tag ⇒ Object
readonly
Returns the value of attribute tag.
Attributes inherited from BaseProperty
Instance Method Summary collapse
-
#initialize(tag = :bdr) ⇒ Border
constructor
A new instance of Border.
Methods inherited from ComplexProperty
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
#tag ⇒ Object (readonly)
Returns the value of attribute tag.
5 6 7 |
# File 'lib/openxml/docx/properties/border.rb', line 5 def tag @tag end |