method
missing_name?
v7.1.3.4 -
Show latest stable
- Class:
NameError
missing_name?(name)public
Was this exception raised because the given name was missing?
begin HelloWorld rescue NameError => e e.missing_name?("HelloWorld") end # => true