Class: OpenxmlDocxTemplater::StringLine
- Defined in:
- lib/openxml_docx_templater/line.rb
Instance Attribute Summary
Attributes inherited from Line
Instance Method Summary collapse
Methods inherited from CodeLine
Methods inherited from Line
code, #initialize, literal, string, text, #to_s
Constructor Details
This class inherits a constructor from OpenxmlDocxTemplater::Line
Instance Method Details
#to_buf ⇒ Object
53 54 55 |
# File 'lib/openxml_docx_templater/line.rb', line 53 def to_buf " _buf << (#{escape_code(@text)}).to_s.escape_xml.convert_newlines;" end |