Method: Geometry::Path#min
- Defined in:
- lib/geometry/path.rb
#min ⇒ Point
Returns The lower-left corner of the bounding rectangle that encloses the Geometry::Path.
71 72 73 |
# File 'lib/geometry/path.rb', line 71 def min elements.reduce(elements.first.min) {|memo, e| memo.min(e.max) } end |