Class: TurnipFormatter::Renderer::Html::Scenario

Inherits:
Base
  • Object
show all
Defined in:
lib/turnip_formatter/renderer/html/scenario.rb

Constant Summary

Constants inherited from Base

Base::TEMPLATE_DIRECTORY

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_htmlObject



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