Module: Dreamcatcher
Defined Under Namespace
Classes: Configuration, ExceptionContext, LoggerProxy, Mailer, Monitor
Constant Summary
collapse
- TEMPLATE_DIR =
File.expand_path('../dreamcatcher/templates', __FILE__)
- VERSION =
"0.0.2"
Instance Method Summary
collapse
Instance Method Details
#configuration ⇒ Object
8
9
10
|
# File 'lib/dreamcatcher.rb', line 8
def configuration
@configuration ||= Dreamcatcher::Configuration.new
end
|
#monitor(options = {}, &block) ⇒ Object
4
5
6
|
# File 'lib/dreamcatcher.rb', line 4
def monitor(options = {}, &block)
Dreamcatcher::Monitor.new(configuration).monitor(options, &block)
end
|