Class: Hashira::Report::View

Inherits:
Data
  • Object
show all
Defined in:
lib/hashira/report/view.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(top: nil, compact: nil) ⇒ View

Returns a new instance of View.



7
# File 'lib/hashira/report/view.rb', line 7

def initialize(top: nil, compact: nil, **) = super

Instance Attribute Details

#compactObject (readonly)

Returns the value of attribute compact

Returns:

  • (Object)

    the current value of compact



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def compact
  @compact
end

#complexityObject (readonly)

Returns the value of attribute complexity

Returns:

  • (Object)

    the current value of complexity



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def complexity
  @complexity
end

#duplicationObject (readonly)

Returns the value of attribute duplication

Returns:

  • (Object)

    the current value of duplication



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def duplication
  @duplication
end

#findingsObject (readonly)

Returns the value of attribute findings

Returns:

  • (Object)

    the current value of findings



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def findings
  @findings
end

#graphObject (readonly)

Returns the value of attribute graph

Returns:

  • (Object)

    the current value of graph



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def graph
  @graph
end

#hotspotsObject (readonly)

Returns the value of attribute hotspots

Returns:

  • (Object)

    the current value of hotspots



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def hotspots
  @hotspots
end

#projectObject (readonly)

Returns the value of attribute project

Returns:

  • (Object)

    the current value of project



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def project
  @project
end

#topObject (readonly)

Returns the value of attribute top

Returns:

  • (Object)

    the current value of top



5
6
7
# File 'lib/hashira/report/view.rb', line 5

def top
  @top
end