class Rails::Generators::ARGVScrubber

def initialize(argv = ARGV)

:nodoc:
since it configures and mutates ARGV correctly.
This class should be called before the AppGenerator is required and started

options).
requested, and also constructs the railsrc file (used for extra configuration
called. The class provides version or help information if they were
This class handles preparation of the arguments before the AppGenerator is
def initialize(argv = ARGV)
  @argv = argv
end