Class: Dox::Printers::ExamplePrinter

Inherits:
BasePrinter show all
Defined in:
lib/dox/printers/example_printer.rb

Instance Method Summary collapse

Methods inherited from BasePrinter

#initialize

Constructor Details

This class inherits a constructor from Dox::Printers::BasePrinter

Instance Method Details



6
7
8
9
10
# File 'lib/dox/printers/example_printer.rb', line 6

def print(example)
  self.example = example
  print_example_request
  print_example_response
end