Is there goto statement in Ruby?

后端 未结 4 2056
谎友^
谎友^ 2020-12-07 00:52

Is there a way to start at a specified line, like a goto statement?

4条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 01:10

    I don't believe so (and, by all that's holy, it shouldn't).

    But there's a goto module for it if you're feeling really masochistic.

提交回复
热议问题