Class: Docx::Elements::Text
- Inherits:
-
Object
- Object
- Docx::Elements::Text
- Includes:
- Element
- Defined in:
- lib/docx/elements/text.rb
Constant Summary
Constants included from Element
Instance Attribute Summary
Attributes included from Element
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(node) ⇒ Text
constructor
A new instance of Text.
Methods included from Element
#append_to, #copy, #html_tag, included, #insert_after, #insert_before, #parent, #parent_paragraph, #prepend_to
Constructor Details
#initialize(node) ⇒ Text
Returns a new instance of Text.
12 13 14 |
# File 'lib/docx/elements/text.rb', line 12 def initialize(node) @node = node end |
Class Method Details
.tag ⇒ Object
7 8 9 |
# File 'lib/docx/elements/text.rb', line 7 def self.tag 't' end |