module DatabasePlumber

Constants

VERSION

Public Class Methods

inspect(options = {}) click to toggle source
# File lib/database_plumber.rb, line 12
def self.inspect(options = {})
  leaks = LeakFinder.inspect(options)
  unless leaks.empty?
    Report.on @example, leaks
    exit! if options[:brutal]
  end
end
log(example) click to toggle source
# File lib/database_plumber.rb, line 8
def self.log(example)
  @example = example
end