From: SASADA Koichi Date: 2012-05-02T18:40:06+09:00 Subject: [ruby-core:44802] Re: [ruby-trunk - Feature #6354] Remove escape (break/return/redo/next support) from class/module scope (2012/04/30 10:16), ktsj (Kazuki Tsujimoto) wrote: > > Issue #6354 has been updated by ktsj (Kazuki Tsujimoto). > > > Such as: > > def f > class << self > yield > end > end Ah, singleton class... I agree with you. BTW, the following code causes syntax error. It is inconsistency. def m 1.times{ class << '' break end } end -- // SASADA Koichi at atdot dot net