Class: Geocoder
- Inherits:
-
Object
- Object
- Geocoder
- Defined in:
- lib/kamelopard/geocode.rb
Overview
Geocoder base class
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize ⇒ Geocoder
constructor
A new instance of Geocoder.
- #lookup(address) ⇒ Object
Constructor Details
#initialize ⇒ Geocoder
Returns a new instance of Geocoder.
11 12 13 |
# File 'lib/kamelopard/geocode.rb', line 11 def initialize raise "Unimplemented -- some other class should extend Geocoder and replace this initialize method" end |
Instance Method Details
#lookup(address) ⇒ Object
15 16 17 |
# File 'lib/kamelopard/geocode.rb', line 15 def lookup(address) raise "Unimplemented -- some other class should extend Geocoder and replace this lookup method" end |