Guys, you are crazy. If you want python, then use python. Or write custom
translator from a language of your dream into ruby.
2 ѧ. 2016 . 3:19 AM ݧ٧ӧѧ֧ݧ <nobu / ruby-lang.org> ߧѧڧѧ:

> Issue #12241 has been updated by Nobuyoshi Nakada.
>
>
> Robert A. Heiler wrote:
> > Edit: Or perhaps "FINAL_END"
>
> It isn't always "FINAL".
>
> ```ruby
> module MyModule
>   class MyClass
>     def my_method
>       10.times do
>         if rand < 0.5
>           p :small
>     !end
>     def another_method
>       while foo do
>         my_method
>     !end
> !end
> ```
>
>
> ----------------------------------------
> Feature #12241: super end
> https://bugs.ruby-lang.org/issues/12241#change-57903
>
> * 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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>
>
(supressed text/html)
Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>