Sha256: 93c5ad733ec2d734e8016bf128b0d1da09f479cce358c9b4830e7f8f8c48f3e2

Contents?: true

Size: 287 Bytes

Versions: 50

Compression:

Stored size: 287 Bytes

Contents

require 'active_support'

module LHC
  module ConfigurationConcern
    extend ActiveSupport::Concern

    module ClassMethods
      def config
        LHC::Config.instance
      end

      def configure
        LHC::Config.instance.reset
        yield config
      end
    end
  end
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
lhc-8.1.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-8.0.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.3.3 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.3.2 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.3.1 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.3.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.2.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.1.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.0.1 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.0.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-7.0.0.beta1 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.7.2 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.7.1 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.7.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.6.0.zipkin.pre.03 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.6.0.zipkin.pre.02 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.6.0.zipkin.pre.01 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.6.0.zipkin.pre lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.6.0 lib/lhc/concerns/lhc/configuration_concern.rb
lhc-6.5.0 lib/lhc/concerns/lhc/configuration_concern.rb