Class: Kino::Check::Finding
- Inherits:
-
Struct
- Object
- Struct
- Kino::Check::Finding
- Defined in:
- lib/kino/check.rb
Overview
One named blocker: a path into the object graph plus what is wrong there.
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#to_s ⇒ String
"path — message", as printed by the CLI.
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
23 24 25 |
# File 'lib/kino/check.rb', line 23 def @message end |
#path ⇒ Object
Returns the value of attribute path
23 24 25 |
# File 'lib/kino/check.rb', line 23 def path @path end |
Instance Method Details
#to_s ⇒ String
Returns "path — message", as printed by the CLI.
25 26 27 |
# File 'lib/kino/check.rb', line 25 def to_s "#{path} — #{}" end |