Closed eric1234 closed 9 years ago
If block returns the proxy object (maybe it just slightly tweaks that object) and then code operating on that proxy object calls a method that takes a block, the block is lost.
This passes the block onto the real object.
Thanks @eric1234 for your contribution. We're working on v3.0 now and will take your request into consideration when looking at api changes.
If block returns the proxy object (maybe it just slightly tweaks that object) and then code operating on that proxy object calls a method that takes a block, the block is lost.
This passes the block onto the real object.