code: function(ratio) {
  
          var dividerPoint = this.pointAt(ratio);
  
          // return array with two new lines
          return [
              new Line(this.start, dividerPoint),
              new Line(dividerPoint, this.end)
          ];
      }
docs: Divides the line into two at requested `ratio` between 0 and 1.