class Reconn::Analyzer::CodeSmell

Attributes

method[R]
type[R]

Public Class Methods

new(type, method) click to toggle source
# File lib/reconn/analyzer/code_smell.rb, line 6
def initialize(type, method)
  @type = type
  @method = method
end

Public Instance Methods

to_s() click to toggle source
# File lib/reconn/analyzer/code_smell.rb, line 11
def to_s
  "Smell: #{@type.to_s} in #{@method.to_s} in file: #{method.filepath}"
end