Module: Dogcatcher
- Defined in:
- lib/dogcatcher.rb,
lib/dogcatcher/config.rb,
lib/dogcatcher/notice.rb,
lib/dogcatcher/tag_set.rb,
lib/dogcatcher/version.rb,
lib/dogcatcher/markdown.rb,
lib/dogcatcher/notifier.rb
Defined Under Namespace
Classes: Config, Markdown, Notice, Notifier, TagSet
Constant Summary collapse
- VERSION =
'0.3.3'.freeze
Class Method Summary collapse
- .build_notice(exception) ⇒ Dogcatcher::Notice
-
.config ⇒ Dogcatcher::Config
Returns a config instance.
-
.configure {|| ... } ⇒ Object
Used to configure Dogcatcher.
- .notify(notice) ⇒ Object
Class Method Details
.build_notice(exception) ⇒ Dogcatcher::Notice
31 32 33 |
# File 'lib/dogcatcher.rb', line 31 def build_notice(exception) Notice.new(config, exception) end |
.config ⇒ Dogcatcher::Config
Returns a config instance
18 19 20 |
# File 'lib/dogcatcher.rb', line 18 def config @config ||= Config.new end |
.configure {|| ... } ⇒ Object
Used to configure Dogcatcher
25 26 27 |
# File 'lib/dogcatcher.rb', line 25 def configure yield config end |