Sha256: 93a1325c16b96cd222a32c2d44944cc0044e1aac58a6652a4d639b3ad3a4d985

Contents?: true

Size: 590 Bytes

Versions: 12

Compression:

Stored size: 590 Bytes

Contents

# encoding: utf-8

module Hexx
  module Suit
    module Metrics
      class MetricFu < RSpec::Metrics::Base

        # The configurer for the Reek metric
        class Reek < Base

          # @!scope class
          # Changes settings source to config/metrics/reek.yml
          #
          # @return [self]
          def load
            configure do |metric|
              metric.config_file_pattern = "config/metrics/reek.yml"
            end

            self
          end

          private

          def name
            :reek
          end
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hexx-suit-2.3.2 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.3.0 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.2.3 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.2.2 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.2.1 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.2.0 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.1.0 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-2.0.0 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-1.5.0-x86_64-linux lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-1.3.0-x86_64-linux lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-1.2.0 lib/hexx/suit/metrics/metric_fu/reek.rb
hexx-suit-1.0.0 lib/hexx/suit/metrics/metric_fu/reek.rb