Module: Dreamcatcher
- Extended by:
- Dreamcatcher
- Included in:
- Dreamcatcher
- Defined in:
- lib/dreamcatcher.rb,
lib/dreamcatcher/version.rb
Defined Under Namespace
Classes: Configuration, ExceptionContext, LoggerProxy, Mailer, Monitor
Constant Summary collapse
- TEMPLATE_DIR =
File.('../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( = {}, &block) Dreamcatcher::Monitor.new(configuration).monitor(, &block) end |