From: merch-redmine@... Date: 2019-08-10T22:27:08+00:00 Subject: [ruby-core:94257] [Ruby master Misc#16096] each in each (multiple uses 'each') Issue #16096 has been updated by jeremyevans0 (Jeremy Evans). Status changed from Open to Feedback Can you explain what you are trying to do, and provide a self-contained example? It is not clear from the description or the code what you think the problem is. I can only guess that the object returned by `a.some_method2` has an `each` method that does not yield when called. ---------------------------------------- Misc #16096: each in each (multiple uses 'each') https://bugs.ruby-lang.org/issues/16096#change-80572 * Author: D1mon (Dim F) * Status: Feedback * Priority: Normal * Assignee: ---------------------------------------- ``` ruby obj.each {|a| a.some_method1.each {|b| ... # comes here (enter) } a.some_method2.each {|c| ... # does not enter here } } # tried and that way. also does not go for a in obj for b in a.some_method1 ... # comes here end for c in a.some_method2 ... # does not enter here end end ``` help solve the problem. I���ve been suffering for 2 days. -- https://bugs.ruby-lang.org/ Unsubscribe: