_from_newline(content, left = true) {
        content = content.split('\n');
        if (left) {
            return content[content.length - 1];
        } else {
            return content[0];
        }
    }
/**
     * INTERNAL METHOD!
     * This method returns the content before first newline occurence.
     * specifying left to true/false can be used to control direction.
     *
     * @param {String} content
     * @param {Boolean} left
     * @returns {String} String
     */
INTERNAL METHOD.
This method returns the content before first newline occurence.
specifying left to true/false can be used to control direction.


INTERNAL METHOD . This method returns the content before first newline occurence . specifying left to true / false can be used to control direction .
_from_newline(content, left = true) {
        content = content.split('\n');
        if (left) {
            return content[content.length - 1];
        } else {
            return content[0];
        }
    }
_from_newline ( content , left = true ) { content = content . split ( '\n' ) ; if ( left ) { return content [ content . length - 1 ] ; } else { return content [ 0 ] ; } }
INTERNAL METHOD!
INTERNAL METHOD!