Class: Dynflow::WebConsole

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/dynflow/web_console.rb

Class Method Summary collapse

Class Method Details

.setup(&block) ⇒ Object



9
10
11
12
13
# File 'lib/dynflow/web_console.rb', line 9

def self.setup(&block)
  Sinatra.new(self) do
    instance_exec(&block)
  end
end