Method: Point2D#minmax
- Defined in:
- lib/cem/cruzzles.rb
#minmax(other) ⇒ Object
Returns the minimum and maximum coordinates of this and the given point/point array.
120 121 122 |
# File 'lib/cem/cruzzles.rb', line 120 def minmax(other) [self.min(other), self.max(other)] end |