Sha256: c81378a4bfb51143bc37032b8bbc9cb061a9f0906be69f2d195edbe02051c3dc

Contents?: true

Size: 266 Bytes

Versions: 15

Compression:

Stored size: 266 Bytes

Contents

module Reek
  module Configuration
    #
    # Hash extension for the default directive.
    #
    module DefaultDirective
      include ConfigurationValidator

      def add(key, config)
        self[key_to_smell_detector(key)] = config
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
reek-3.11 lib/reek/configuration/default_directive.rb
reek-3.10.2 lib/reek/configuration/default_directive.rb
reek-3.10.1 lib/reek/configuration/default_directive.rb
reek-3.10.0 lib/reek/configuration/default_directive.rb
reek-3.9.1 lib/reek/configuration/default_directive.rb
reek-3.9.0 lib/reek/configuration/default_directive.rb
reek-3.8.3 lib/reek/configuration/default_directive.rb
reek-3.8.2 lib/reek/configuration/default_directive.rb
reek-3.8.1 lib/reek/configuration/default_directive.rb
reek-3.8.0 lib/reek/configuration/default_directive.rb
reek-3.7.1 lib/reek/configuration/default_directive.rb
reek-3.7.0 lib/reek/configuration/default_directive.rb
reek-3.6.1 lib/reek/configuration/default_directive.rb
reek-3.6.0 lib/reek/configuration/default_directive.rb
reek-3.5.0 lib/reek/configuration/default_directive.rb