Class: Geometry::Polygon

Inherits:
Object
  • Object
show all
Defined in:
lib/engineering.rb

Class Method Summary collapse

Class Method Details

.build(&block) ⇒ Polygon

Build a Geometry::Polygon instance using the Sketch DSL

Returns:



58
59
60
# File 'lib/engineering.rb', line 58

def self.build(&block)
		Sketch::Builder::Polygon.new.evaluate(&block)
end