public Method

HpricotTestHelper.tag(css_query)

returns the inner content of the first tag found by the css query

Source Code

# File merb/test/hpricot.rb, line 35
def tag(css_query)
  process_output
  @output.content_for(css_query)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.