lib/gscraper/search/search.rb in gscraper-0.3.0 vs lib/gscraper/search/search.rb in gscraper-0.4.0
- old
+ new
@@ -1,9 +1,9 @@
#
# GScraper - A web-scraping interface to various Google Services.
#
-# Copyright (c) 2007-2009 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2007-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
@@ -71,10 +71,10 @@
# Search.query_from_url('http://www.google.com/search?q=ruby+zen)
#
# @example
# Search.query_from_url('http://www.google.com/search?q=ruby') do |q|
# q.within_last_month = true
- # q.occurrs_within = :title
+ # q.occurs_within = :title
# end
#
# @see WebQuery.from_url.
#
def Search.query_from_url(url,&block)