Class: TurnipFormatter::Renderer::Html::Scenario
- Defined in:
- lib/turnip_formatter/renderer/html/scenario.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
delegate, #id, #initialize, #render, resource_name, view, #view
Constructor Details
This class inherits a constructor from TurnipFormatter::Renderer::Html::Base
Instance Method Details
#steps_html ⇒ Object
12 13 14 15 16 |
# File 'lib/turnip_formatter/renderer/html/scenario.rb', line 12 def steps_html @steps_html ||= @resource.steps.map do |step| Step.new(step).render end.join end |