Class: CodePoetry::Duplication

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

Instance Attribute Summary collapse

Instance Attribute Details

#mass ⇒ Object

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

#methods ⇒ Object

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

#node ⇒ Object

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

#severity ⇒ Object

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