Class: RspecApiDocumentation::Views::TextileExample

Inherits:
MarkupExample
  • Object
show all
Defined in:
lib/rspec_api_documentation/views/textile_example.rb

Constant Summary collapse

EXTENSION =
'textile'

Instance Method Summary collapse

Methods inherited from MarkupExample

#dirname, #filename, #method_missing, #parameters, #requests, #respond_to?

Constructor Details

#initialize(example, configuration) ⇒ TextileExample

Returns a new instance of TextileExample.



6
7
8
9
# File 'lib/rspec_api_documentation/views/textile_example.rb', line 6

def initialize(example, configuration)
  super
  self.template_name = "rspec_api_documentation/textile_example"
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RspecApiDocumentation::Views::MarkupExample

Instance Method Details

#extensionObject



11
12
13
# File 'lib/rspec_api_documentation/views/textile_example.rb', line 11

def extension
  EXTENSION
end