Module: ErrorRadar::Integrations::Rake
- Defined in:
- lib/error_radar/integrations/rake.rb
Defined Under Namespace
Modules: Capture
Class Method Summary collapse
Class Method Details
.install! ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/error_radar/integrations/rake.rb', line 36 def self.install! # `ancestors.include?` is idempotent across multiple calls AND across # multiple versions of the gem that may both try to install. return if ::Rake::Task.ancestors.include?(Capture) ::Rake::Task.prepend(Capture) end |