Exception: NoMethodError
- Inherits:
-
NameError
- Object
- Exception
- StandardError
- NameError
- NoMethodError
- Defined in:
- mrblib/error.rb
Overview
ISO 15.2.32
Instance Attribute Summary (collapse)
-
- (Object) args
readonly
Returns the value of attribute args.
Attributes inherited from NameError
Instance Method Summary (collapse)
-
- (NoMethodError) initialize(message = nil, name = nil, args = nil)
constructor
A new instance of NoMethodError.
Methods inherited from Exception
#backtrace, #exception, #inspect, #message, #to_s
Constructor Details
- (NoMethodError) initialize(message = nil, name = nil, args = nil)
Returns a new instance of NoMethodError
38 39 40 41 |
# File 'mrblib/error.rb', line 38 def initialize(message=nil, name=nil, args=nil) @args = args super message, name end |
Instance Attribute Details
- (Object) args (readonly)
Returns the value of attribute args
36 37 38 |
# File 'mrblib/error.rb', line 36 def args @args end |