brynary/webrat — comment on commit 21157342c968221dcd1f072c20d034945caf00fc
File: lib/webrat/core/xml.rb line 10
By ntalbott:

Ruby ```case``` statements don't fall through, so this ends up returning nil if an HTML::Document is passed in.