jnicklas/capybara — pull request #734 by nightscape (2012-06-21 11:28:14+00:00)
Title: Return the real class on Capybara::Driver::Node#inspect.

Hi Jonas,

we just had a hard time debugging Capybara (trying to find out how to get a node's text unnormalized) because Capybara::Driver::Node#inspect returns its own class name instead of the subclasses'.
I've also seen this pattern is used in other locations as well.
Is there a specific reason for this?

Best regards
Martin