lib/gator/generators/as3/class_generator.rb in gator-0.0.12.pre vs lib/gator/generators/as3/class_generator.rb in gator-0.0.13.pre
- old
+ new
@@ -1,10 +1,10 @@
module Gator
module AS3
- class ClassGenerator < Generator
+ class ClassGenerator < Task
include Gator::Project
- register_generator Gator::AS3::GeneratorCollection, "klass", "generate as3 klass CLASS_NAME", "Creates AS3 class."
+ register_task Gator::AS3::GeneratorCollection, "klass", "generate as3 klass CLASS_NAME", "Creates AS3 class."
argument :name
def self.source_root
File.dirname __FILE__
\ No newline at end of file