lib/prop_check/hooks.rb in prop_check-0.10.0 vs lib/prop_check/hooks.rb in prop_check-0.10.1

- old
+ new

@@ -1,8 +1,9 @@ # frozen_string_literal: true ## +# @api private # Contains the logic to combine potentially many before/after/around hooks # into a single pair of procedures called `before` and `after`. # # _Note: This module is an implementation detail of PropCheck._ # @@ -87,9 +88,10 @@ end end end ## + # @api private # Wraps enumerable `inner` with a `PropCheck::Hooks` object # such that the before/after/around hooks are called # before/after/around each element that is fetched from `inner`. # # This is very helpful if you need to perform cleanup logic