Class: Geoptima::AfterLocatorAlgorithm
- Inherits:
-
LocatorAlgorithm
- Object
- LocatorAlgorithm
- Geoptima::AfterLocatorAlgorithm
- Defined in:
- lib/geoptima/locator.rb
Instance Method Summary collapse
Instance Method Details
#locate(locatable) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/geoptima/locator.rb', line 31 def locate(locatable) if locatable.next_point locatable.location = locatable.next_point else locatable.location = nil end end |