Module: GeoSpider
- Defined in:
- lib/geo-spider.rb,
lib/geo-spider/page.rb,
lib/geo-spider/site.rb,
lib/geo-spider/location.rb,
lib/geo-spider/extractors/base.rb,
lib/geo-spider/extractors/master.rb,
lib/geo-spider/extractors/postcode.rb,
lib/geo-spider/extractors/microformat.rb
Defined Under Namespace
Modules: Extractors
Classes: Location, Page, Site
Constant Summary
collapse
- VERSION =
'0.2.3'
- DEFAULT_USER_AGENT =
'geo-spider (http://github.com/tomtaylor/geo-spider)'
Class Method Summary
collapse
Class Method Details
.user_agent ⇒ Object
18
19
20
|
# File 'lib/geo-spider.rb', line 18
def self.user_agent
@user_agent || DEFAULT_USER_AGENT
end
|
.user_agent=(user_agent) ⇒ Object
22
23
24
|
# File 'lib/geo-spider.rb', line 22
def self.user_agent=(user_agent)
@user_agent = user_agent
end
|