Class: Snoot::Smell

Inherits:
Data
  • Object
show all
Defined in:
lib/snoot/findings.rb

Overview

A single Reek smell instance. Ranked by how often its smell_type recurs within a Run.

Instance Attribute Summary collapse

Instance Attribute Details

#locationObject (readonly)

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



11
12
13
# File 'lib/snoot/findings.rb', line 11

def location
  @location
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



11
12
13
# File 'lib/snoot/findings.rb', line 11

def message
  @message
end

#smell_typeObject (readonly)

Returns the value of attribute smell_type

Returns:

  • (Object)

    the current value of smell_type



11
12
13
# File 'lib/snoot/findings.rb', line 11

def smell_type
  @smell_type
end