class RspecApiDocumentation::Views::TextileIndex
Public Class Methods
new(index, configuration)
click to toggle source
Calls superclass method
RspecApiDocumentation::Views::MarkupIndex::new
# File lib/rspec_api_documentation/views/textile_index.rb, line 4 def initialize(index, configuration) super self.template_name = "rspec_api_documentation/textile_index" end
Public Instance Methods
examples()
click to toggle source
# File lib/rspec_api_documentation/views/textile_index.rb, line 9 def examples @index.examples.map { |example| TextileExample.new(example, @configuration) } end