Class: Heidi::Web

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/heidi/web.rb

Class Method Summary collapse

Class Method Details

.project_pathObject



14
15
16
# File 'lib/heidi/web.rb', line 14

def self.project_path
  @project_path
end

.start(host = "0.0.0.0", port = "4567", project_path = Dir.pwd) ⇒ Object



9
10
11
12
# File 'lib/heidi/web.rb', line 9

def self.start(host="0.0.0.0", port="4567", project_path=Dir.pwd)
  @project_path = project_path
  Heidi::Web.run! :host => host, :port => port
end