There's no documentation for this item.
Source Code
# File merb/test/hpricot.rb, line 64 def get_elements css_query, text els = elements(css_query) case text when String then els.reject! {|t| !t.should_contain(text) } when Regexp then els.reject! {|t| !t.should_match(text) } end els end
<code/>and<pre/>for code samples.