Method: Sketch::DSL#path

Defined in:
lib/sketch/dsl.rb

#path(*args, &block) ⇒ Path

Create a Path

Returns:



41
42
43
# File 'lib/sketch/dsl.rb', line 41

def path(*args, &block)
    Builder::Path.new(*args).evaluate(&block).tap {|a| push a }
end