Pegasus::Generators::Api::FileInput(I)
Inherits Pegasus::Generators::Api::Input / Reference / Object
Input method that reads from a file, the name of which is specified on the command line.
Constructors
new(name : String, description : String)
Create a new file input with the given internal name and user-friendly description.
Instance methods
add_option(opt_parser)
Register this input method's options
with the given PegasusOptionParser.
description=(description : String)
The user-friendly description of the input that will be shown on the help screen.
name
The internal name of this input. The PegasusOptionParser
will associated a file name with this string.
name=(name : String)
The internal name of this input. The PegasusOptionParser
will associated a file name with this string.