|
|
|
|
|
by rco8786
2091 days ago
|
|
Oh the error handler example is kinda cool, especially paired with inline rescues def my_method
.. code ..
rescue FileNotFoundError => FileNotFoundHandler
rescue StandardError => StandardErrorHandler
end
But yea, as is so often the case with ruby, you can really shoot yourself if you try hard enough :P |
|