module Thoran

Changes since 0.2:

  1. + Thoran namespace.

0/1

  1. Updated the MiniTest superclass only—no implementation changes.

Changes since 0.2:

  1. Added the original version 0.1.0 of the implementation to the later 0.1.0!

0/1

  1. Switched the tests to spec-style.

1/2

  1. Added a test for the state of the array afterward, since this is meant to be an in place change.

2/3

  1. Added tests for the extended functionality introduced in the first version 0.1.0.

Changes since 0.1:

  1. Added the complement of the extended version of Array#first!.

0/1

  1. Switched the tests to spec-style.

1/2

  1. Added a test for the state of the array afterward, since this is meant to be an in place change.

2/3

  1. Added tests for the extended functionality introduced in the first version 0.1.0.

  2. 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!.