* Adds multiple bricks to the end of the pipe. * Convenience method calling Pipe.spliceBricks internally. * @param {Brick[]|object[]} bricks Brick instances or serialized brick * objects to be added to the pipe * @return {Pipe} Fluent interface
(bricks)
| 217 | * @return {Pipe} Fluent interface |
| 218 | */ |
| 219 | addBricks (bricks) { |
| 220 | this.spliceBricks(-1, 0, bricks) |
| 221 | return this |
| 222 | } |
| 223 | |
| 224 | /** |
| 225 | * Inserts a copy of given brick into the pipe. |