Class: Foobara::AWS::Check::Finding
- Inherits:
-
Data
- Object
- Data
- Foobara::AWS::Check::Finding
- Defined in:
- lib/foobara/aws/check.rb
Instance Attribute Summary collapse
-
#actual ⇒ Object
readonly
Returns the value of attribute actual.
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#expected ⇒ Object
readonly
Returns the value of attribute expected.
-
#ok ⇒ Object
readonly
Returns the value of attribute ok.
Instance Method Summary collapse
Instance Attribute Details
#actual ⇒ Object (readonly)
Returns the value of attribute actual
46 47 48 |
# File 'lib/foobara/aws/check.rb', line 46 def actual @actual end |
#command ⇒ Object (readonly)
Returns the value of attribute command
46 47 48 |
# File 'lib/foobara/aws/check.rb', line 46 def command @command end |
#description ⇒ Object (readonly)
Returns the value of attribute description
46 47 48 |
# File 'lib/foobara/aws/check.rb', line 46 def description @description end |
#expected ⇒ Object (readonly)
Returns the value of attribute expected
46 47 48 |
# File 'lib/foobara/aws/check.rb', line 46 def expected @expected end |
#ok ⇒ Object (readonly)
Returns the value of attribute ok
46 47 48 |
# File 'lib/foobara/aws/check.rb', line 46 def ok @ok end |
Instance Method Details
#to_s ⇒ Object
47 48 49 |
# File 'lib/foobara/aws/check.rb', line 47 def to_s "#{ok ? "ok " : "FAIL"} #{command.ljust(28)} #{description} (expected #{expected}, got #{actual})" end |