Last Modified
2016-12-07 01:23:34 +0000
Requires

Description

The Insertion class inserts a value before or after another value in a list.

@example

Insertion.new([1, 2, 3], 4).before(3) # => [1, 2, 4, 3]