class Object

Public Instance Methods

config() click to toggle source
# File lib/puma_doctor/capistrano.rb, line 59
def config
  path = File.expand_path("../daemon_template.rb.erb", __FILE__)
  if File.file?(path)
    erb = File.read(path)
    upload! StringIO.new(ERB.new(erb).result(binding)), fetch(:puma_doctor_daemon_file)
  end
end