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