Sha256: 3e0230656f53eb613a84c2721e5a8a9902de6162573a39bfa8b0fb1e5bf27370

Contents?: true

Size: 834 Bytes

Versions: 1

Compression:

Stored size: 834 Bytes

Contents

KManager.action :bootstrap do
  action do
    director = DrawioDsl::Drawio
      .init(k_builder,
        on_exist:                   :skip,                      # %i[skip write compare]
        on_action:                  :queue                      # %i[queue execute]
      )

    File.write('spec/.samples/drawio/10-layout.xml', director.build)
    File.write('spec/.samples/drawio/10-layout.drawio', director.build)
  end
end

KManager.opts.app_name                    = 'drawio_dsl'
KManager.opts.sleep                       = 2
KManager.opts.reboot_on_kill              = 0
KManager.opts.reboot_sleep                = 4
KManager.opts.exception_style             = :short
KManager.opts.show.time_taken             = true
KManager.opts.show.finished               = true
KManager.opts.show.finished_message       = 'FINISHED :)'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drawio_dsl-0.1.0 .builders/generators/10-layout.rb