Class: CucumberToHtml::Cell::Element

Inherits:
Cucumberhtml::Cell show all
Defined in:
app/concepts/cucumber_to_html/cell/element.rb

Direct Known Subclasses

Scenario, ScenarioOutline

Instance Method Summary collapse

Instance Method Details

#keywordObject



9
10
11
# File 'app/concepts/cucumber_to_html/cell/element.rb', line 9

def keyword
  model['keyword']
end

#nameObject



5
6
7
# File 'app/concepts/cucumber_to_html/cell/element.rb', line 5

def name
  model['name']
end

#step(step) ⇒ Object



17
18
19
# File 'app/concepts/cucumber_to_html/cell/element.rb', line 17

def step(step)
  Step.call(step).call
end

#stepsObject



13
14
15
# File 'app/concepts/cucumber_to_html/cell/element.rb', line 13

def steps
  model['steps']
end