| 19863 | return this; |
| 19864 | } |
| 19865 | /** |
| 19866 | * Adds raw text to the summary buffer |
| 19867 | * |
| 19868 | * @param {string} text content to add |
| 19869 | * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) |
| 19870 | * |
| 19871 | * @returns {Summary} summary instance |
| 19872 | */ |
| 19873 | addRaw(text, addEOL = false) { |
| 19874 | this._buffer += text; |
| 19875 | return addEOL ? this.addEOL() : this; |
| 19876 | } |
| 19877 | /** |
| 19878 | * Adds the operating system-specific end-of-line marker to the buffer |
| 19879 | * |
| 19880 | * @returns {Summary} summary instance |