class

Pegasus::Generators::Api::OutputMode

Inherits Reference / Object

Class that specifies the program's output mode. The idea is to generalize behaviors such as merging into a single file or printing out to STDOUT. The #output method takes in a parser and, as side effect, should emit the output of its various FileGenerator classes.

Instance methods

output(opt_parser)

Output the content of the given opt_parser.

Source