Class: RailsDoctor::Hotspot
- Inherits:
-
Struct
- Object
- Struct
- RailsDoctor::Hotspot
- Defined in:
- lib/rails_doctor/models.rb
Instance Attribute Summary collapse
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#changed ⇒ Object
Returns the value of attribute changed.
-
#churn ⇒ Object
Returns the value of attribute churn.
-
#file ⇒ Object
Returns the value of attribute file.
-
#finding_count ⇒ Object
Returns the value of attribute finding_count.
-
#score ⇒ Object
Returns the value of attribute score.
-
#summary ⇒ Object
Returns the value of attribute summary.
Instance Method Summary collapse
Instance Attribute Details
#categories ⇒ Object
Returns the value of attribute categories
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def categories @categories end |
#changed ⇒ Object
Returns the value of attribute changed
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def changed @changed end |
#churn ⇒ Object
Returns the value of attribute churn
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def churn @churn end |
#file ⇒ Object
Returns the value of attribute file
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def file @file end |
#finding_count ⇒ Object
Returns the value of attribute finding_count
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def finding_count @finding_count end |
#score ⇒ Object
Returns the value of attribute score
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def score @score end |
#summary ⇒ Object
Returns the value of attribute summary
121 122 123 |
# File 'lib/rails_doctor/models.rb', line 121 def summary @summary end |
Instance Method Details
#to_h ⇒ Object
131 132 133 134 135 136 137 138 139 140 141 |
# File 'lib/rails_doctor/models.rb', line 131 def to_h { file: file, score: score, finding_count: finding_count, churn: churn, changed: changed, categories: categories, summary: summary } end |