Class: Pushr::Daemon::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/pushr/daemon/settings.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSettings

Returns a new instance of Settings.



7
8
9
10
11
12
13
# 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

Instance Attribute Details

#error_notificationObject

Returns the value of attribute error_notification.



5
6
7
# File 'lib/pushr/daemon/settings.rb', line 5

def error_notification
  @error_notification
end

#feedback_processorObject

Returns the value of attribute feedback_processor.



5
6
7
# File 'lib/pushr/daemon/settings.rb', line 5

def feedback_processor
  @feedback_processor
end

#foregroundObject

Returns the value of attribute foreground.



5
6
7
# File 'lib/pushr/daemon/settings.rb', line 5

def foreground
  @foreground
end

#pid_fileObject

Returns the value of attribute pid_file.



4
5
6
# File 'lib/pushr/daemon/settings.rb', line 4

def pid_file
  @pid_file
end

#stats_processorObject

Returns the value of attribute stats_processor.



5
6
7
# File 'lib/pushr/daemon/settings.rb', line 5

def stats_processor
  @stats_processor
end