Exception: NoMethodError
- Defined in:
- mruby/mrblib/10error.rb
Overview
ISO 15.2.32
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Attributes inherited from NameError
Instance Method Summary collapse
-
#initialize(message = nil, name = nil, args = nil) ⇒ NoMethodError
constructor
A new instance of NoMethodError.
Methods inherited from Exception
#backtrace, #exception, #inspect, #message, #set_backtrace, #to_s
Constructor Details
#initialize(message = nil, name = nil, args = nil) ⇒ NoMethodError
Returns a new instance of NoMethodError.
55 56 57 58 |
# File 'mruby/mrblib/10error.rb', line 55 def initialize(=nil, name=nil, args=nil) @args = args super , name end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
53 54 55 |
# File 'mruby/mrblib/10error.rb', line 53 def args @args end |