Sha256: e8e7b01cf88398097bd8717e4ea1269967285fb050e008f9702290302bb3c9d2
Contents?: true
Size: 817 Bytes
Versions: 4
Compression:
Stored size: 817 Bytes
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' run_once! standalone! end Vedeu.interface :main_interface do border do title 'Test 1' end geometry do x 4 y 3 xn 34 yn 8 end end Vedeu.render do view(:main_interface) do lines do line do streams do stream 'v->ls->l->ss->stream 1', { foreground: '#ffff00' } stream 'v->ls->l->ss->stream 2', { foreground: '#00ffff' } end end end end end def self.start(argv = ARGV) Vedeu::Launcher.execute!(argv) end end # DSLApp DSLApp.start
Version data entries
4 entries across 4 versions & 1 rubygems