Class: RspecApiDocumentation::Views::MarkdownExample
- Inherits:
-
MarkupExample
- Object
- Mustache
- MarkupExample
- RspecApiDocumentation::Views::MarkdownExample
- Defined in:
- lib/rspec_api_documentation/views/markdown_example.rb
Direct Known Subclasses
Constant Summary collapse
- EXTENSION =
'markdown'
Instance Method Summary collapse
- #extension ⇒ Object
-
#initialize(example, configuration) ⇒ MarkdownExample
constructor
A new instance of MarkdownExample.
Methods inherited from MarkupExample
#dirname, #filename, #method_missing, #parameters, #requests, #respond_to?
Constructor Details
#initialize(example, configuration) ⇒ MarkdownExample
Returns a new instance of MarkdownExample.
6 7 8 9 |
# File 'lib/rspec_api_documentation/views/markdown_example.rb', line 6 def initialize(example, configuration) super self.template_name = "rspec_api_documentation/markdown_example" end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class RspecApiDocumentation::Views::MarkupExample
Instance Method Details
#extension ⇒ Object
11 12 13 |
# File 'lib/rspec_api_documentation/views/markdown_example.rb', line 11 def extension EXTENSION end |