Class: Reviewer::Doctor::Report::Environment
- Inherits:
-
Struct
- Object
- Struct
- Reviewer::Doctor::Report::Environment
- Defined in:
- lib/reviewer/doctor/report.rb
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#name ⇒ Object
Returns the value of attribute name.
-
#status ⇒ Object
Returns the value of attribute status.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
47 48 49 |
# File 'lib/reviewer/doctor/report.rb', line 47 def detail @detail end |
#name ⇒ Object
Returns the value of attribute name
47 48 49 |
# File 'lib/reviewer/doctor/report.rb', line 47 def name @name end |
#status ⇒ Object
Returns the value of attribute status
47 48 49 |
# File 'lib/reviewer/doctor/report.rb', line 47 def status @status end |
#value ⇒ Object
Returns the value of attribute value
47 48 49 |
# File 'lib/reviewer/doctor/report.rb', line 47 def value @value end |
Instance Method Details
#to_h ⇒ Object
48 |
# File 'lib/reviewer/doctor/report.rb', line 48 def to_h = { name: name, status: status, value: value, detail: detail }.compact |