|
12345678910111213141516171819202122232425262728293031323334353637 |
- 'use strict';
- var chalk = require('chalk');
- var figures = require('figures');
-
-
-
- class Separator {
- constructor(line) {
- this.type = 'separator';
- this.line = chalk.dim(line || new Array(15).join(figures.line));
- }
-
-
-
- toString() {
- return this.line;
- }
- }
-
-
-
- Separator.exclude = function(obj) {
- return obj.type !== 'separator';
- };
-
- module.exports = Separator;
|