đź’ˇ LightUp 7.1 | SketchUp's only real-time renderer that uses object-based rendering
Download Trial
Create file with accent in the path
-
Nice, thank you Dan!
-
@dan rathbun said:
fail() #re-raise the last exception
Never seen that method used before. Is that different from just calling
raise
? -
@tt_su said:
@dan rathbun said:
fail() #re-raise the last exception
Never seen that method used before. Is that different from just calling
raise
?raise()
is an alias forfail()
See the doc on theKernel
module:
http://www.ruby-doc.org/core-1.8.6/Kernel.html#method-i-failThe best practices guides I have read, suggest that
fail
be 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