Class: Dox::Printers::ExampleRequestPrinter
- Inherits:
-
BasePrinter
- Object
- BasePrinter
- Dox::Printers::ExampleRequestPrinter
- Defined in:
- lib/dox/printers/example_request_printer.rb
Instance Attribute Summary
Attributes inherited from BasePrinter
Instance Method Summary collapse
Methods inherited from BasePrinter
#find_or_add, #format_desc, #formatted_body, #initialize, #pretty_xml, #read_file
Constructor Details
This class inherits a constructor from Dox::Printers::BasePrinter
Instance Method Details
#print(example) ⇒ Object
4 5 6 7 |
# File 'lib/dox/printers/example_request_printer.rb', line 4 def print(example) self.example = example add_example_request end |