Method: Docx::Elements::Containers::Paragraph#to_s
- Defined in:
- lib/docx/containers/paragraph.rb
#to_s ⇒ Object Also known as: text
Return text of paragraph
40 41 42 |
# File 'lib/docx/containers/paragraph.rb', line 40 def to_s text_runs.map(&:text).join('') end |