Rails::Generator is a code generation platform tailored for the Rails web application framework. Generators are easily invoked within Rails applications to add and remove components such as models and controllers. New generators are easy to create and may be distributed as RubyGems or tarballs for inclusion system-wide, per-user, or per-application.
Generators may subclass other generators to provide variations that require little or no new logic but replace the template files. The postback generator is an example: it subclasses the scaffold generator and just replaces the code templates with its own.
Now go forth and multiply^Wgenerate.
railties/lib/rails_generator/manifest.rb railties/lib/rails_generator/simple_logger.rb railties/lib/rails_generator/base.rb railties/lib/rails_generator/lookup.rb railties/lib/rails_generator/scripts.rb railties/lib/rails_generator/spec.rb railties/lib/rails_generator/commands.rb railties/lib/rails_generator/options.rb railties/lib/initializer.rb railties/lib/rails/version.rb railties/builtin/rails_info/rails/info.rb