Sha256: 30951394ddc844e2f9e8da859cfadcc36c720e1b5360a5c4c57e6beba8e2b622

Contents?: true

Size: 229 Bytes

Versions: 4

Compression:

Stored size: 229 Bytes

Contents

module Reek
  module Configuration
    #
    # Hash extension for the default directive.
    #
    module DefaultDirective
      def add(key, config)
        self[Reek::Smells.const_get(key)] = config
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
reek-3.4.1 lib/reek/configuration/default_directive.rb
reek-3.4.0 lib/reek/configuration/default_directive.rb
reek-3.3.1 lib/reek/configuration/default_directive.rb
reek-3.3.0 lib/reek/configuration/default_directive.rb