Class: Reviewer::Doctor::Report::Environment

Inherits:
Struct
  • Object
show all
Defined in:
lib/reviewer/doctor/report.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • the current value of detail



47
48
49
# File 'lib/reviewer/doctor/report.rb', line 47

def detail
  @detail
end

#nameObject

Returns the value of attribute name

Returns:

  • the current value of name



47
48
49
# File 'lib/reviewer/doctor/report.rb', line 47

def name
  @name
end

#statusObject

Returns the value of attribute status

Returns:

  • the current value of status



47
48
49
# File 'lib/reviewer/doctor/report.rb', line 47

def status
  @status
end

#valueObject

Returns the value of attribute value

Returns:

  • the current value of value



47
48
49
# File 'lib/reviewer/doctor/report.rb', line 47

def value
  @value
end

Instance Method Details

#to_hObject



48
# File 'lib/reviewer/doctor/report.rb', line 48

def to_h = { name: name, status: status, value: value, detail: detail }.compact