class Sanford::ConfigFile::NoServerError

Public Class Methods

new(server, path) click to toggle source
Calls superclass method
# File lib/sanford/config_file.rb, line 67
def initialize(server, path)
  prefix = "Configuration file #{path.to_s.inspect}"
  if server
    super "#{prefix} called `run` without a Sanford::Server"
  else
    super "#{prefix} didn't call `run` with a Sanford::Server"
  end
end