Class: GreenPepper::HtmlExampleResult
- Inherits:
-
ExampleResult
- Object
- ExampleResult
- GreenPepper::HtmlExampleResult
- Defined in:
- lib/greenpepper/writer/htmlresult.rb
Direct Known Subclasses
ErrorExampleResult, FailureExampleResult, IgnoredExampleResult, NoExampleResult, SuccessExampleResult, WriteTextExampleResult
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#row ⇒ Object
Returns the value of attribute row.
Attributes inherited from ExampleResult
Instance Method Summary collapse
Methods inherited from ExampleResult
#error?, #failure?, #ignored?, #initialize, #success?, #update_stats
Constructor Details
This class inherits a constructor from GreenPepper::ExampleResult
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
12 13 14 |
# File 'lib/greenpepper/writer/htmlresult.rb', line 12 def column @column end |
#row ⇒ Object
Returns the value of attribute row.
12 13 14 |
# File 'lib/greenpepper/writer/htmlresult.rb', line 12 def row @row end |
Instance Method Details
#write(cell, options = {}) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/greenpepper/writer/htmlresult.rb', line 14 def write(cell, = {}) unless cell.instance_of? LibXML::XML::Node raise GreenPepperArgumentError.new end cell end |