Close
Glad You're Ready. Let's Get Started!

Let us know how we can contact you.

Thank you!

We'll respond shortly.

PIVOTAL LABS
[Standup][SF] 09/07/12: The Clap Keeps Coming Back

Interestings

  • Ruby Gotcha: Extending non-existent class displays confusing error message

class Foo < DontExist
end

describe Foo
it “works” do
Foo.new
end
end

this raises:

uninitialized constant Foo (NameError)

very confusing to say the least. I would have expected the NameError to show that DontExist didn’t exist.

–Glenn

Comments
Post a Comment

Your Information (Name required. Email address will not be displayed with comment.)

* Copy This Password *

* Type Or Paste Password Here *