Class: GreenPepper::WriteIgnoredExampleResult

Inherits:
WriteTextExampleResult show all
Defined in:
lib/greenpepper/writer/htmlresult.rb

Instance Attribute Summary

Attributes inherited from HtmlExampleResult

#column, #row

Attributes inherited from ExampleResult

#silent

Instance Method Summary collapse

Methods inherited from WriteTextExampleResult

#initialize

Methods inherited from ExampleResult

#error?, #failure?, #initialize, #success?, #update_stats

Constructor Details

This class inherits a constructor from GreenPepper::WriteTextExampleResult

Instance Method Details

#ignored?Boolean

Returns:

  • (Boolean)


87
88
89
# File 'lib/greenpepper/writer/htmlresult.rb', line 87

def ignored?
  true
end

#write(cell, options = {}) ⇒ Object



91
92
93
94
95
# File 'lib/greenpepper/writer/htmlresult.rb', line 91

def write(cell, options = {})
  cell = super(cell, options)
  cell["style"] = "background-color: #{Html::GREY}"
  cell
end