Create file with accent in the path
-
Nice, thank you Dan!
-
@dan rathbun said:
fail() #re-raise the last exceptionNever seen that method used before. Is that different from just calling
raise? -
@tt_su said:
@dan rathbun said:
fail() #re-raise the last exceptionNever seen that method used before. Is that different from just calling
raise?raise()is an alias forfail()
See the doc on theKernelmodule:
http://www.ruby-doc.org/core-1.8.6/Kernel.html#method-i-failThe best practices guides I have read, suggest that
failbe used instead ofraise, for readability, I suppose. But I really did not understand the logic in the guide. (I think it was something like "raise" has more meanings as a verb than "fail" ?)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement