module DeadCodeDetector
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/dead_code_detector.rb, line 16 def self.config @config ||= DeadCodeDetector::Configuration.new end
configure(&block)
click to toggle source
# File lib/dead_code_detector.rb, line 12 def self.configure(&block) block.call(config) end
enable(&block)
click to toggle source
# File lib/dead_code_detector.rb, line 20 def self.enable(&block) begin DeadCodeDetector::Initializer.enable_for_cached_classes! block.call ensure config.storage.flush end end