Class: Luban::Deployment::Applications::Rack::Configurator

Inherits:
Luban::Deployment::Application::Configurator
  • Object
show all
Includes:
Paths, WebServer
Defined in:
lib/luban/deployment/applications/rack/configurator.rb

Instance Method Summary collapse

Methods included from WebServer

#current_web_server, #default_web_server_options, #publish_web_server, #web_servers_available, #web_servers_unused

Methods included from Paths

#control_file_dir, #control_file_extname, #control_file_name, #log_file_name, #pid_file_name, #public_files_path, #socket_file_name, #socket_file_path, #sockets_path

Instance Method Details

#exclude_template?(template) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/luban/deployment/applications/rack/configurator.rb', line 9

def exclude_template?(template)
  super or web_servers_unused.any? { |w| template =~ /^#{w}\./ }
end