Class: Pushr::Daemon::Settings
- Inherits:
-
Object
- Object
- Pushr::Daemon::Settings
- Defined in:
- lib/pushr/daemon/settings.rb
Instance Attribute Summary collapse
-
#error_notification ⇒ Object
Returns the value of attribute error_notification.
-
#feedback_processor ⇒ Object
Returns the value of attribute feedback_processor.
-
#foreground ⇒ Object
Returns the value of attribute foreground.
-
#pid_file ⇒ Object
Returns the value of attribute pid_file.
-
#stats_processor ⇒ Object
Returns the value of attribute stats_processor.
Instance Method Summary collapse
-
#initialize ⇒ Settings
constructor
A new instance of Settings.
Constructor Details
#initialize ⇒ Settings
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_notification ⇒ Object
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_processor ⇒ Object
Returns the value of attribute feedback_processor.
5 6 7 |
# File 'lib/pushr/daemon/settings.rb', line 5 def feedback_processor @feedback_processor end |
#foreground ⇒ Object
Returns the value of attribute foreground.
5 6 7 |
# File 'lib/pushr/daemon/settings.rb', line 5 def foreground @foreground end |
#pid_file ⇒ Object
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_processor ⇒ Object
Returns the value of attribute stats_processor.
5 6 7 |
# File 'lib/pushr/daemon/settings.rb', line 5 def stats_processor @stats_processor end |