Sha256: dcd780cee5aea914abd4a00073ee26e81d12abdeef11762d844bfc6da821fa56
Contents?: true
Size: 350 Bytes
Versions: 9
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true # :nocov: module DrawioDsl # DrawioDsl is a DSL for draw-io diagrams. module DomBuilderShapes {{#each shapes}} def add_{{snake ./type}}(**opts) {{snake ./type}} = DrawioDsl::Schema::{{camel ./type}}.new(current_page, **opts) add_shape({{snake ./type}}) end {{/each}} end end # :nocov:
Version data entries
9 entries across 9 versions & 1 rubygems