class RspecApiDocumentation::Views::MarkupIndex
Public Class Methods
new(index, configuration)
click to toggle source
# File lib/rspec_api_documentation/views/markup_index.rb, line 8 def initialize(index, configuration) @index = index @configuration = configuration self.template_path = configuration.template_path end
Public Instance Methods
sections()
click to toggle source
# File lib/rspec_api_documentation/views/markup_index.rb, line 14 def sections RspecApiDocumentation::Writers::IndexHelper.sections(examples, @configuration) end