Please sign in to comment.
Store _enhanced early enough
This way, enhance() can be called multiple times, which is useful when it's done on top of module level. Otherwise, wrapped method will call itself infinitely.
- Loading branch information...
Showing with 6 additions and 5 deletions.