Permalink
Browse files

Update syntax in README -- closes GH-24

  • Loading branch information...
1 parent cbef06a commit 3b429098a7564d79debb626dcb25a26235be85b9 @alexdunae alexdunae committed Mar 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.rdoc
View
@@ -28,11 +28,11 @@ Done.
parser.load_file!('print.css', '~/styles/', :print)
# lookup a rule by a selector
- parser.find('#content')
+ parser.find_by_selector('#content')
#=> 'font-size: 13px; line-height: 1.2;'
# lookup a rule by a selector and media type
- parser.find('#content', [:screen, :handheld])
+ parser.find_by_selector('#content', [:screen, :handheld])
# iterate through selectors by media type
parser.each_selector(:screen) do |selector, declarations, specificity|

0 comments on commit 3b42909

Please sign in to comment.