method
missing_name
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()
public
Extract the name of the missing constant from the exception message.
begin HelloWorld rescue NameError => e e.missing_name end # => "HelloWorld"