class

Pegasus::Generators::Api::FileOutputMode

Inherits Pegasus::Generators::Api::OutputMode / Reference / Object

Output mode that produces a single file.

Constructors

new(filename : String)

Creates a new file output mode that generates a file with the given name.

Source

Instance methods

output(opt_parser)

Output the content of the given opt_parser.

Source