Use `RSpec.current_example` in place of `example`

In order to remove deprecation warning #34

(I haven't run the tests for this yet, but making this change in my bundled gem removed the deprecation warning.)