Class: RMonitor::Config
- Inherits:
-
Object
- Object
- RMonitor::Config
- Defined in:
- lib/rmonitor/config.rb,
lib/rmonitor/config/dsl.rb,
lib/rmonitor/config/builder.rb
Defined Under Namespace
Class Attribute Summary collapse
Instance Method Summary collapse
Class Attribute Details
.config_path ⇒ Object
16 17 18 |
# File 'lib/rmonitor/config.rb', line 16 def config_path @config_path || default_config_path end |
Instance Method Details
#profiles ⇒ Object
5 6 7 |
# File 'lib/rmonitor/config.rb', line 5 def profiles Builder.define read end |
#read ⇒ Object
9 10 11 |
# File 'lib/rmonitor/config.rb', line 9 def read File.read self.class.config_path end |