Sha256: 9dbbd9009e33904b33ea7df1b58b445356de05a84bef3703aa4d459083f0c124
Contents?: true
Size: 604 Bytes
Versions: 57
Compression:
Stored size: 604 Bytes
Contents
require 'dynflow' require 'pp' require 'sinatra/base' require 'yaml' module Dynflow module Web def self.setup(&block) console = Sinatra.new(Web::Console) { instance_exec(&block)} Rack::Builder.app do run Rack::URLMap.new('/' => console) end end def self.web_dir(sub_dir) web_dir = File.join(File.expand_path('../../../web', __FILE__)) File.join(web_dir, sub_dir) end require 'dynflow/web/filtering_helpers' require 'dynflow/web/world_helpers' require 'dynflow/web/console_helpers' require 'dynflow/web/console' end end
Version data entries
57 entries across 57 versions & 1 rubygems