From: nobu@... Date: 2016-04-01T06:18:55+00:00 Subject: [ruby-core:74763] [Ruby trunk Feature#12241] super end Issue #12241 has been reported by Nobuyoshi Nakada. ---------------------------------------- Feature #12241: super end https://bugs.ruby-lang.org/issues/12241 * Author: Nobuyoshi Nakada * Status: Open * Priority: Normal * Assignee: ---------------------------------------- This is a refinement of [Feature #5054]. It required to count the depth of count to end, and tiresome. This proposal will introduce "super end", `!end`, which ends the block began at the same column with `!`. ~~~ruby module MyModule class MyClass def my_method 10.times do if rand < 0.5 p :small !end ~~~ https://github.com/ruby/ruby/compare/trunk...nobu:feature/!end -- https://bugs.ruby-lang.org/ Unsubscribe: