Exception: RubytMustNotBeNilError
- Inherits:
-
RubytError
- Object
- StandardError
- RubytError
- RubytMustNotBeNilError
- Defined in:
- lib/types/errors/rubyt_must_not_be_nil_error.rb
Instance Method Summary collapse
-
#initialize(message = 'must not be nil') ⇒ RubytMustNotBeNilError
constructor
A new instance of RubytMustNotBeNilError.
Constructor Details
#initialize(message = 'must not be nil') ⇒ RubytMustNotBeNilError
Returns a new instance of RubytMustNotBeNilError.
6 |
# File 'lib/types/errors/rubyt_must_not_be_nil_error.rb', line 6 def initialize( = 'must not be nil') = super(.nil? ? 'must not be nil' : ) |