Module: GSearchParser
- Defined in:
- lib/gsearch-parser.rb
Overview
Module method definitions
Class Method Summary collapse
-
.parseSearchPage(uri) ⇒ Object
Allows directly specifing the URI of the page to parse.
-
.webSearch(query) ⇒ Object
Entry method for performing a web search.
Class Method Details
.parseSearchPage(uri) ⇒ Object
Allows directly specifing the URI of the page to parse
15 16 17 |
# File 'lib/gsearch-parser.rb', line 15 def GSearchParser.parseSearchPage(uri) webSearch = GoogleWebSearch.new(uri, 'URI') end |
.webSearch(query) ⇒ Object
Entry method for performing a web search
10 11 12 |
# File 'lib/gsearch-parser.rb', line 10 def GSearchParser.webSearch(query) webSearch = GoogleWebSearch.new(query, 'QUERY') end |