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

In order to remove deprecation warning #34
Merge pull request #35 from englishm/patch-1

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