fails:Module#const_defined? returns false if the constant is defined in the receiver's superclass and the inherit flag is false
fails:Module#const_defined? returns true if the constant is defined in the receiver's superclass and the inherit flag is true
fails:Module#const_defined? calls #to_str to convert the given name to a String
fails:Module#const_defined? returns true for toplevel constant when the name begins with '::'
fails:Module#const_defined? returns true when passed a scoped constant name
fails:Module#const_defined? returns true when passed a scoped constant name for a constant in the inheritance hierarchy and the inherited flag is default
fails:Module#const_defined? returns true when passed a scoped constant name for a constant in the inheritance hierarchy and the inherited flag is true
fails:Module#const_defined? raises a NameError if the name does not start with a capital letter
fails:Module#const_defined? raises a NameError if the name starts with '_'
fails:Module#const_defined? raises a NameError if the name starts with '@'
fails:Module#const_defined? raises a NameError if the name starts with '!'
fails:Module#const_defined? raises a NameError if the name contains non-alphabetic characters except '_'
fails:Module#const_defined? raises a TypeError if conversion to a String by calling #to_str fails
