Exception: NoMethodError
- Defined in:
- opal/opal/corelib/error.rb,
opal/opal/corelib/error.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
Attributes inherited from NameError
Instance Method Summary collapse
-
#initialize(message, name = nil, args = []) ⇒ NoMethodError
constructor
A new instance of NoMethodError.
Methods inherited from Exception
#backtrace, #backtrace_locations, #cause, #copy_instance_variables, exception, #exception, #full_message, #inspect, #message, new, #set_backtrace, #to_s
Constructor Details
#initialize(message, name = nil, args = []) ⇒ NoMethodError
Returns a new instance of NoMethodError.
293 294 295 296 |
# File 'opal/opal/corelib/error.rb', line 293 def initialize(, name = nil, args = []) super , name @args = args end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
291 292 293 |
# File 'opal/opal/corelib/error.rb', line 291 def args @args end |