Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

break in blocks doesn't work properly in some cases #270

Closed
kronos opened this Issue · 1 comment

2 participants

@kronos
Collaborator
def get_block(&block)
  block
end

get_block{break}.call # => should raise LocalJumpError exception
@evanphx
Owner

Won't fix. In our opinion, break returning the caller of get_block is proper.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.