Sha256: 7fd549344a06387d019c206de6d4e5f17d8805885a27344d8aefb4a188114779

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

module Reconn
  module Analyzer
    class CodeSmell
      attr_reader :type, :method

      def initialize(type, method)
        @type = type
        @method = method
      end

      def to_s
        "Smell: #{@type.to_s} in #{@method.to_s} in file: #{method.filepath}"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reconn-1.0.0 lib/reconn/analyzer/code_smell.rb