Class: CodePoetry::Duplication

Inherits:
Struct
  • Object
show all
Defined in:
lib/code_poetry/stat.rb

Instance Attribute Summary collapse

Instance Attribute Details

#massObject

Returns the value of attribute mass

Returns:

  • (Object)

    the current value of mass



6
7
8
# File 'lib/code_poetry/stat.rb', line 6

def mass
  @mass
end

#methodsObject

Returns the value of attribute methods

Returns:

  • (Object)

    the current value of methods



6
7
8
# File 'lib/code_poetry/stat.rb', line 6

def methods
  @methods
end

#nodeObject

Returns the value of attribute node

Returns:

  • (Object)

    the current value of node



6
7
8
# File 'lib/code_poetry/stat.rb', line 6

def node
  @node
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



6
7
8
# File 'lib/code_poetry/stat.rb', line 6

def severity
  @severity
end