Fixup documentation for XPath class

This commit is contained in:
Jonas Nicklas 2010-07-16 22:08:39 +02:00
parent 6ba5d8f9fd
commit 5dfe70eb67
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,13 @@
module Capybara
# this is a class for generating XPath queries, use it like this:
##
#
# This is a class for generating XPath queries, use it like this:
#
# Xpath.text_field('foo').link('blah').to_s
# this will generate an XPath that matches either a text field or a link
#
# This will generate an XPath that matches either a text field or a link.
#
class XPath
class << self