Class: Trinity::Server
- Inherits:
-
Object
- Object
- Trinity::Server
- Defined in:
- lib/trinity/server.rb
Class Method Summary
Class Method Details
+ (Object) start(host, port, repository, options = {}, &block)
5 6 7 8 |
# File 'lib/trinity/server.rb', line 5 def self.start(host, port, repository, = {}, &block) Thin::Logging.debug = true if [:debug] Thin::Server.start(host || '0.0.0.0', port || 3000, Trinity::Application.new(repository)) end |