module Thoran
Changes:
-
+
Thoran
namespace.
Changes since 0.1:
-
Added the complement of the extended version of Array#first!.
0/1
-
Switched the tests to spec-style.
1/2
-
Added a test for the state of the array afterward, since this is meant to be an in place change.
2/3
-
Added tests for the extended functionality introduced in the first version 0.1.0.
-
Fixed the implementation, so that the order is retained by unshifting the popped values rather than appending the shifted values as is the case with Array#first!.
Changes since 0.2:
-
+
Thoran
namespace.
Changes:
-
Returning an empty array when there's no match, since that's more consistent.