Class: Geometry::Polygon
- Inherits:
-
Object
- Object
- Geometry::Polygon
- Defined in:
- lib/engineering.rb
Class Method Summary collapse
-
.build(&block) ⇒ Polygon
Build a Polygon instance using the Sketch DSL.
Class Method Details
.build(&block) ⇒ Polygon
Build a Geometry::Polygon instance using the Sketch DSL
58 59 60 |
# File 'lib/engineering.rb', line 58 def self.build(&block) Sketch::Builder::Polygon.new.evaluate(&block) end |