class Pegasus::Generators::Api::FileOutputMode

Overview

Output mode that produces a single file.

Defined in:

generators/generators.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def output(opt_parser) #
Description copied from class Pegasus::Generators::Api::OutputMode

Output the content of the given opt_parser.


[View source]