lib/rspec_api_documentation/views/textile_index.rb
module RspecApiDocumentation
module Views
class TextileIndex < MarkupIndex
def initialize(index, configuration)
super
self.template_name = "rspec_api_documentation/textile_index"
end
def examples
@index.examples.map { |example| TextileExample.new(example, @configuration) }
end
end
end
end