Actions
Feature #12241
closedsuper end
Feature #12241:
super 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
Actions