Sha256: 7f78e04738ca9911763f1fc07b2935018786634011df5580aa189996d7fa493e
Contents?: true
Size: 1.02 KB
Versions: 16
Compression:
Stored size: 1.02 KB
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require 'bundler/setup' require 'vedeu' class DSLApp Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) } Vedeu.configure do debug! log '/tmp/vedeu_views_dsl.log' renderers(Vedeu::Renderers::Terminal.new( filename: '/tmp/vedeu_empty.out', write_file: true), Vedeu::Renderers::JSON.new( filename: '/tmp/vedeu_empty.json'), Vedeu::Renderers::HTML.new( filename: '/tmp/vedeu_empty.html'), Vedeu::Renderers::Text.new( filename: '/tmp/vedeu_empty.txt') ) run_once! standalone! end Vedeu.interface :test1_interface do border do title 'Test 1' end geometry do x 4 y 3 xn 34 yn 8 end end Vedeu.render do view(:test1_interface) do lines do end end end def self.start(argv = ARGV) Vedeu::Launcher.execute!(argv) end end # DSLApp DSLApp.start
Version data entries
16 entries across 16 versions & 1 rubygems