class Object

Public Instance Methods

load_servers(pattern) click to toggle source
# File lib/capistrano/server_settings.rb, line 3
def load_servers(pattern)
  ServerSettings.load_config_dir(pattern)
  ServerSettings.each_role do |role, hosts|
    role role.to_sym, hosts.map(&:host)
  end
end