Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add note about within to // section of README

  • Loading branch information...
commit 0d76d064e9d5682da9c8ed98c7abdeae27bfc4cb 1 parent 083e580
@jnicklas authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.rdoc
View
6 README.rdoc
@@ -393,6 +393,12 @@ for is the .// expression which means "any descendant of the current node":
page.find('//body').all('.//script')
+The same thing goes for within:
+
+ within('//body') do
+ page.find('.//script')
+ end
+
== Gotchas:
* Domain names (including subdomains) don't work under rack-test. Since it's a
Please sign in to comment.
Something went wrong with that request. Please try again.