Module: CrashReporter
- Defined in:
- lib/crash_reporter.rb,
lib/crash_reporter/dsl.rb,
lib/crash_reporter/version.rb,
lib/crash_reporter/configure.rb,
lib/crash_reporter/reporters/github_issues.rb
Defined Under Namespace
Modules: DSL
Classes: Configure, GithubIssues
Constant Summary
collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
Class Method Summary
collapse
Class Attribute Details
.configuration ⇒ Object
9
10
11
|
# File 'lib/crash_reporter.rb', line 9
def configuration
@configuration ||= Configure.new
end
|
Class Method Details
23
24
25
|
# File 'lib/crash_reporter.rb', line 23
def configure(&block)
yield configuration
end
|
.report(data) ⇒ Object
17
18
19
20
21
|
# File 'lib/crash_reporter.rb', line 17
def report(data)
configuration.engines.each do |engine|
engine.run(data)
end
end
|
.reset ⇒ Object
13
14
15
|
# File 'lib/crash_reporter.rb', line 13
def reset
@configuration = Configure.new
end
|