Sha256: 3bffdbb1cdb3751d6a2ccf60bb6adf6e43154978b822c143143411ffaed431a5

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true
require_relative 'extensions/logging'
require_relative 'extensions/ignore_subfolders'

module HeavyControl
  module Extensions
    def self.apply
      ActiveSupport::Dependencies.singleton_class.prepend HeavyControl::Extensions::IgnoreSubfolders
      ActiveSupport::Dependencies.singleton_class.prepend HeavyControl::Extensions::Logging if HeavyControl.config[:debug]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
heavy_control-0.1.2 lib/heavy_control/extensions.rb
heavy_control-0.1.1 lib/heavy_control/extensions.rb