Module: HttpServerManager

Defined in:
lib/http_server_manager.rb,
lib/http_server_manager/server.rb,
lib/http_server_manager/version.rb,
lib/http_server_manager/stdout_logger.rb,
lib/http_server_manager/rake/server_tasks.rb

Defined Under Namespace

Modules: Rake Classes: Server, StdOutLogger

Constant Summary collapse

VERSION =
"0.5.1".freeze

Class Attribute Summary collapse

Class Attribute Details

.log_dirObject

Returns the value of attribute log_dir


11
12
13
# File 'lib/http_server_manager.rb', line 11

def log_dir
  @log_dir
end

.loggerObject


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

def logger
  @logger || HttpServerManager::StdOutLogger.new
end

.pid_dirObject

Returns the value of attribute pid_dir


11
12
13
# File 'lib/http_server_manager.rb', line 11

def pid_dir
  @pid_dir
end