Class: Heidi::Web
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Heidi::Web
- Defined in:
- lib/heidi/web.rb
Class Method Summary collapse
Class Method Details
.project_path ⇒ Object
13 14 15 |
# File 'lib/heidi/web.rb', line 13 def self.project_path @project_path end |
.start(host = "0.0.0.0", port = "4567", project_path = Dir.pwd) ⇒ Object
8 9 10 11 |
# File 'lib/heidi/web.rb', line 8 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 |