Class: Schaltroom::Config
- Inherits:
-
Object
- Object
- Schaltroom::Config
- Defined in:
- lib/schaltroom/config.rb
Overview
configuration class for Schaltroom
Instance Attribute Summary collapse
-
#monitoring ⇒ Object
Returns the value of attribute monitoring.
-
#monitoring_file ⇒ Object
Returns the value of attribute monitoring_file.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
default values.
Constructor Details
#initialize ⇒ Config
default values
9 10 11 12 |
# File 'lib/schaltroom/config.rb', line 9 def initialize @monitoring = :disabled @monitoring_file = nil end |
Instance Attribute Details
#monitoring ⇒ Object
Returns the value of attribute monitoring.
6 7 8 |
# File 'lib/schaltroom/config.rb', line 6 def monitoring @monitoring end |
#monitoring_file ⇒ Object
Returns the value of attribute monitoring_file.
6 7 8 |
# File 'lib/schaltroom/config.rb', line 6 def monitoring_file @monitoring_file end |