Class: Scryer::DuplicateDetector::DuplicateGroup

Inherits:
Struct
  • Object
show all
Defined in:
lib/scryer/duplicate_detector.rb

Overview

kind just gets stamped onto every group this run produces — lets Scanner run this same algorithm separately over methods, query chains, and cached values, and have each result self-identify in the report (see QueryExtractor/CacheExtractor, whose output feeds this same class).

Instance Attribute Summary collapse

Instance Attribute Details

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



32
33
34
# File 'lib/scryer/duplicate_detector.rb', line 32

def kind
  @kind
end

#membersObject

Returns the value of attribute members

Returns:

  • (Object)

    the current value of members



32
33
34
# File 'lib/scryer/duplicate_detector.rb', line 32

def members
  @members
end

#similarityObject

Returns the value of attribute similarity

Returns:

  • (Object)

    the current value of similarity



32
33
34
# File 'lib/scryer/duplicate_detector.rb', line 32

def similarity
  @similarity
end