Class: Hecks::Ports::Agent::Finding
- Inherits:
-
Struct
- Object
- Struct
- Hecks::Ports::Agent::Finding
- Defined in:
- lib/hecks/ports/agent.rb
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#message ⇒ Object
Returns the value of attribute message.
-
#severity ⇒ Object
Returns the value of attribute severity.
-
#subject ⇒ Object
Returns the value of attribute subject.
Instance Method Summary collapse
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind
97 98 99 |
# File 'lib/hecks/ports/agent.rb', line 97 def kind @kind end |
#message ⇒ Object
Returns the value of attribute message
97 98 99 |
# File 'lib/hecks/ports/agent.rb', line 97 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
97 98 99 |
# File 'lib/hecks/ports/agent.rb', line 97 def severity @severity end |
#subject ⇒ Object
Returns the value of attribute subject
97 98 99 |
# File 'lib/hecks/ports/agent.rb', line 97 def subject @subject end |
Instance Method Details
#to_s ⇒ Object
98 |
# File 'lib/hecks/ports/agent.rb', line 98 def to_s = "#{severity.to_s.upcase.ljust(7)} #{kind.to_s.ljust(20)} #{subject} — #{}" |