Methods
build() → {AsciiTree}
create an AsciiTree instance.
- Source:
Returns:
- Type
- AsciiTree
withAppend(append) → {ConvertorBuilder}
Parameters:
| Name | Type | Description |
|---|---|---|
append |
string | Buffer |
- Source:
Returns:
- return this instance.
- Type
- ConvertorBuilder
withContent(content, enc) → {ConvertorBuilder}
Parameters:
| Name | Type | Description |
|---|---|---|
content |
Buffer | string | |
enc |
string | string encoding. |
- Source:
Returns:
- return this instance.
- Type
- ConvertorBuilder
withEncode(enc) → {ConvertorBuilder}
Parameters:
| Name | Type | Description |
|---|---|---|
enc |
string | encoding. |
- Source:
Returns:
- return this instance.
- Type
- ConvertorBuilder
withEndTag(endTag) → {ConvertorBuilder}
Parameters:
| Name | Type | Description |
|---|---|---|
endTag |
string |
- Source:
Returns:
- return this instance.
- Type
- ConvertorBuilder
withPrepend(prepend) → {ConvertorBuilder}
Parameters:
| Name | Type | Description |
|---|---|---|
prepend |
string | Buffer |
- Source:
Returns:
- return this instance.
- Type
- ConvertorBuilder
withStartTag(startTag) → {ConvertorBuilder}
Parameters:
| Name | Type | Description |
|---|---|---|
startTag |
string |
- Source:
Returns:
- return this instance.
- Type
- ConvertorBuilder