Class: Schaltroom::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/schaltroom/config.rb

Overview

configuration class for Schaltroom

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

default values



9
10
11
12
# File 'lib/schaltroom/config.rb', line 9

def initialize
  @monitoring = :disabled
  @monitoring_file = nil
end

Instance Attribute Details

#monitoringObject

Returns the value of attribute monitoring.



6
7
8
# File 'lib/schaltroom/config.rb', line 6

def monitoring
  @monitoring
end

#monitoring_fileObject

Returns the value of attribute monitoring_file.



6
7
8
# File 'lib/schaltroom/config.rb', line 6

def monitoring_file
  @monitoring_file
end