=begin
 This is a machine generated stub using stdlib-doc for <b>class NameError</b>
 Sources used:  Ruby 2.3.7
 Created by IntelliJ Ruby Stubs Generator.
=end

# Raised when a given name is invalid or undefined.
# 
#    puts foo
# 
# <em>raises the exception:</em>
# 
#    NameError: undefined local variable or method `foo' for main:Object
# 
# Since constant names must start with a capital:
# 
#    Fixnum.const_set :answer, 42
# 
# <em>raises the exception:</em>
# 
#    NameError: wrong constant name answer
class NameError < StandardError
    # NameError.new(msg [, name])  -> name_error
    # 
    # Construct a new NameError exception. If given the <i>name</i>
    # parameter may subsequently be examined using the <code>NameError.name</code>
    # method.
    def initialize(*args)
        #This is a stub, used for indexing
    end
    # name_error.name    ->  string or nil
    # 
    # Return the name associated with this NameError exception.
    def name()
        #This is a stub, used for indexing
    end
    # name_error.receiver  -> object
    # 
    # Return the receiver associated with this NameError exception.
    def receiver()
        #This is a stub, used for indexing
    end
    # name_error.local_variables  ->  array
    # 
    # Return a list of the local variable names defined where this
    # NameError exception was raised.
    # 
    # Internal use only.
    def local_variables()
        #This is a stub, used for indexing
    end
end
