Class: Savage::Directions::VerticalTo
- Inherits:
-
Object
- Object
- Savage::Directions::VerticalTo
- Defined in:
- lib/monkeypatchsavage.rb
Instance Method Summary collapse
Instance Method Details
#toAbsolute(fromPoint) ⇒ Object
40 41 42 43 44 45 46 |
# File 'lib/monkeypatchsavage.rb', line 40 def toAbsolute(fromPoint) if not @absolute @target += fromPoint.y end @absolute = true return Point.new(fromPoint.x,@target) end |