ActionsLike0
Feature #12241
closedsuper end
Status:
Rejected
Assignee:
-
Target version:
-
Description
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 !
.
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
Updated by nobu (Nobuyoshi Nakada) about 9 years ago
- Status changed from Open to Rejected
Updated by nobu (Nobuyoshi Nakada) over 7 years ago
- Related to Feature #5054: Compress a sequence of ends added
Updated by shyouhei (Shyouhei Urabe) about 5 years ago
- Related to Feature #16746: Endless method definition added
Updated by duerst (Martin Dürst) almost 4 years ago
- Has duplicate Feature #17786: Proposal: new "ends" keyword added
ActionsLike0