You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you mind explaining the expected use case? Because we have traverse which is very close to the implementation.
If I recall, I was using #traverse to return a collection of nodes, like .traverse.map { |node, value| would but got a LocalJumpError. In retrospect, I think I should have proposed an return enum_for(__method__) { size } unless block_given? form for #traverse rather than a new method.
If I recall, I was using #traverse to return a collection of nodes, like
.traverse.map { |node, value|
would but got aLocalJumpError
. In retrospect, I think I should have proposed anreturn enum_for(__method__) { size } unless block_given?
form for #traverse rather than a new method.Originally posted by @havenwood in #55 (comment)
The text was updated successfully, but these errors were encountered: