Exception: NoMethodError

Inherits:
NameError show all
Defined in:
ext/enterprise_script_service/mruby/mrblib/10error.rb

Overview

ISO 15.2.32

Instance Attribute Summary collapse

Attributes inherited from NameError

#name

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, name = nil, args = nil) ⇒ NoMethodError

Returns a new instance of NoMethodError.



42
43
44
45
# File 'ext/enterprise_script_service/mruby/mrblib/10error.rb', line 42

def initialize(message=nil, name=nil, args=nil)
  @args = args
  super message, name
end

Instance Attribute Details

#argsObject (readonly)

Returns the value of attribute args.



40
41
42
# File 'ext/enterprise_script_service/mruby/mrblib/10error.rb', line 40

def args
  @args
end