class RspecApiDocumentation::Views::MarkdownExample
Constants
- EXTENSION
Public Class Methods
new(example, configuration)
click to toggle source
Calls superclass method
# 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
Public Instance Methods
extension()
click to toggle source
# File lib/rspec_api_documentation/views/markdown_example.rb, line 19 def extension EXTENSION end
parameters()
click to toggle source
Calls superclass method
# File lib/rspec_api_documentation/views/markdown_example.rb, line 11 def parameters super.map do |parameter| parameter.merge({ :required => parameter[:required] ? 'true' : 'false', }) end end