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.
10 11 12 |
# File 'lib/kamelopard/geocode.rb', line 10 def initialize raise "Unimplemented -- some other class should extend Geocoder and replace this initialize method" end |
Instance Method Details
#lookup(address) ⇒ Object
14 15 16 |
# File 'lib/kamelopard/geocode.rb', line 14 def lookup(address) raise "Unimplemented -- some other class should extend Geocoder and replace this lookup method" end |