Class: GreenPepper::KeywordError
- Inherits:
-
ExampleResult
- Object
- ExampleResult
- GreenPepper::KeywordError
- Includes:
- KeywordFormat
- Defined in:
- lib/greenpepper/writer/freetextresult.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from ExampleResult
Instance Method Summary collapse
Methods included from KeywordFormat
#error, #green_highlight, #grey_highlight, #highlight, #indent, #indent2, #newline, #red_highlight, #yellow_highlight
Methods inherited from ExampleResult
#failure?, #ignored?, #initialize, #success?
Constructor Details
This class inherits a constructor from GreenPepper::ExampleResult
Instance Method Details
#error? ⇒ Boolean
187 188 189 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 187 def error? true end |
#update_stats(results) ⇒ Object
183 184 185 |
# File 'lib/greenpepper/writer/freetextresult.rb', line 183 def update_stats(results) results.add_error end |