Class: Moult::Clones::Occurrence

Inherits:
Struct
  • Object
show all
Defined in:
lib/moult/clones.rb

Overview

A single site of a clone group. path is root-relative; line is flay's reported start line (flay works at line granularity). fuzzy is true only for a near-match node surfaced in fuzzy mode.

Instance Attribute Summary collapse

Instance Attribute Details

#fuzzyObject

Returns the value of attribute fuzzy

Returns:

  • (Object)

    the current value of fuzzy



35
36
37
# File 'lib/moult/clones.rb', line 35

def fuzzy
  @fuzzy
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



35
36
37
# File 'lib/moult/clones.rb', line 35

def line
  @line
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



35
36
37
# File 'lib/moult/clones.rb', line 35

def path
  @path
end