Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download
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" ?)
Advertisement