class Pushr::Daemon::Settings

Attributes

error_notification[RW]
feedback_processor[RW]
foreground[RW]
pid_file[R]
stats_processor[RW]

Public Class Methods

new() click to toggle source
# File lib/pushr/daemon/settings.rb, line 7
def initialize
  @foreground = false
  @error_notification = false
  @feedback_processor = nil
  @stats_processor = nil
  @pid_file = nil
end

Public Instance Methods

pid_file=(file) click to toggle source
# File lib/pushr/daemon/settings.rb, line 15
def pid_file=(file)
  @pid_file = Pathname.new(file).absolute? ? file : File.join(Dir.pwd, file)
end