Exception: TestGem::MyError
- Inherits:
-
StandardError
- Object
- StandardError
- TestGem::MyError
- Defined in:
- lib/test_gem/my_error.rb
Instance Method Summary collapse
-
#initialize(msg = "Error unknown, nothing supplied") ⇒ MyError
constructor
A new instance of MyError.
Constructor Details
#initialize(msg = "Error unknown, nothing supplied") ⇒ MyError
Returns a new instance of MyError.
5 6 7 |
# File 'lib/test_gem/my_error.rb', line 5 def initialize(msg="Error unknown, nothing supplied") super msg end |