- Ruby Gotcha: Extending non-existent class displays confusing error message
class Foo < DontExist
it “works” do
uninitialized constant Foo (NameError)
very confusing to say the least. I would have expected the NameError to show that DontExist didn’t exist.