A
Abder-Rahman Ali
In the following sentence: The raise method is from the Kernel module.
By default, raise creates an exception of the RuntimeError class. From:
http://rubylearning.com/satishtalim/ruby_exceptions.html
What is meant by raising an exception of the "RunTimeError"? And, if we
raise it on "ArgumentError", what is mean by that?
Thanks.
By default, raise creates an exception of the RuntimeError class. From:
http://rubylearning.com/satishtalim/ruby_exceptions.html
What is meant by raising an exception of the "RunTimeError"? And, if we
raise it on "ArgumentError", what is mean by that?
Thanks.