method
missing_name
rails 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"