Class: CucumberToHtml::Cell::Step
- Inherits:
-
Cucumberhtml::Cell
- Object
- Cucumberhtml::Cell
- CucumberToHtml::Cell::Step
- Defined in:
- app/concepts/cucumber_to_html/cell/step.rb
Instance Method Summary collapse
Instance Method Details
#keyword ⇒ Object
4 5 6 |
# File 'app/concepts/cucumber_to_html/cell/step.rb', line 4 def keyword model['keyword'] end |
#name ⇒ Object
8 9 10 |
# File 'app/concepts/cucumber_to_html/cell/step.rb', line 8 def name model['name'] end |
#success? ⇒ Boolean
12 13 14 |
# File 'app/concepts/cucumber_to_html/cell/step.rb', line 12 def success? model['result']['status'] == 'passed' end |
#text_classes ⇒ Object
16 17 18 19 |
# File 'app/concepts/cucumber_to_html/cell/step.rb', line 16 def text_classes # Difficult to read # 'text-success' if success? end |