A lightweight single-depth object state capture. The #take_snapshot method reads the object's state, which is generally it's collection of instance variables, and returns them in a hash. The state can be restored with #apply_snapshot.
Michael Neumann
gem "snapshot", "~> 1.0.0"