Sha256: 22b64794561e90c5eeb60e6b972ec1e66e6db22c564bfe5302424eb966c4881d
Contents?: true
Size: 955 Bytes
Versions: 1
Compression:
Stored size: 955 Bytes
Contents
module FlashSDK class ClassGenerator < Sprout::Generator::Base include FlashHelper ## # The path where source files should be created. add_param :src, String, { :default => 'src' } def manifest directory class_directory do template "#{class_name}.as", 'ActionScript3Class.as' end generator :test_class, :input => "#{fully_qualified_class_name}Test" generator :suite_class end end end ## # This is a null Generator, if you add a test library # to your Gemfile, it should have it's own TestClassGenerator # that supercedes this one. module FlashSDK class TestClassGenerator < Sprout::Generator::Base def manifest end end end ## # This is a null Generator, if you add a test library # to your Gemfile, it should have it's own TestClassGenerator # that supercedes this one. module FlashSDK class SuiteClassGenerator < Sprout::Generator::Base def manifest end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flashsdk-1.0.1.pre | lib/flashsdk/generators/class_generator.rb |