Path: bundles/as2/lib/sprout/generators/class/class_generator.rb
Last Update: Fri Aug 07 21:52:02 -0700 2009

Generate a new ActionScript 3.0 class, test case and test suite.

This generator can be executed as follows:

  sprout -n as3 SomeProject
  cd SomeProject
  script/generator class utils.MathUtil

Be sure to check out NamedBase to learn more about what kinds of class names can be accepted.

If the class name passed into this generator ends with ‘Test’, only a test case and test suite will be generated.