Skip to content

Instantly share code, notes, and snippets.

@TeWu
Created March 9, 2019 20:54
Show Gist options
  • Save TeWu/3b276cbd23143a2e38ab65f15c690153 to your computer and use it in GitHub Desktop.
Save TeWu/3b276cbd23143a2e38ab65f15c690153 to your computer and use it in GitHub Desktop.
Huh!?
def test
return true
ensure
return false
end
test #=> false
def test2
true
ensure
false
end
test2 #=> true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment