class Pegasus::Generators::Api::FileOutputMode
Overview
Output mode that produces a single file.
Defined in:
generators/generators.crConstructors
-
.new(filename : String)
Creates a new file output mode that generates a file with the given name.
Instance Method Summary
-
#output(opt_parser)
Output the content of the given
opt_parser
.
Instance methods inherited from class Pegasus::Generators::Api::OutputMode
output(opt_parser)
output
Constructor Detail
def self.new(filename : String)
#
Creates a new file output mode that generates a file with the given name.
Instance Method Detail
def output(opt_parser)
#
Description copied from class Pegasus::Generators::Api::OutputMode
Output the content of the given opt_parser
.