Method: Geometry::Point#unshift
- Defined in:
- lib/geometry/point.rb
#unshift(*args) ⇒ Point
Prepend the given objects and return a new Geometry::Point
208 209 210 |
# File 'lib/geometry/point.rb', line 208 def unshift(*args) self.class[to_a.unshift(*args)] end |