method
missing_name
v6.0.0 -
Show latest stable
- Class:
NameError
missing_name()public
Extract the name of the missing constant from the exception message.
begin HelloWorld rescue NameError => e e.missing_name end # => "HelloWorld"
missing_name()Extract the name of the missing constant from the exception message.
begin HelloWorld rescue NameError => e e.missing_name end # => "HelloWorld"