Class: Docx2TXT::Docx
- Inherits:
-
Object
- Object
- Docx2TXT::Docx
- Defined in:
- lib/docx2txt.rb
Instance Method Summary collapse
-
#initialize(location) ⇒ Docx
constructor
A new instance of Docx.
- #to_txt ⇒ Object
Constructor Details
#initialize(location) ⇒ Docx
Returns a new instance of Docx.
7 8 9 |
# File 'lib/docx2txt.rb', line 7 def initialize location @location = location end |
Instance Method Details
#to_txt ⇒ Object
11 12 13 |
# File 'lib/docx2txt.rb', line 11 def to_txt get_text get_xml end |