Sha256: aacb1e762b853e61928159ca2c9f2d3feb4d06f8b7416c31e294a9f0739f52ab
Contents?: true
Size: 824 Bytes
Versions: 1
Compression:
Stored size: 824 Bytes
Contents
module Gator module AS3 module RobotLegs module ASUnit4 class ViewTestGenerator < Gator::AS3::TestGenerator include Gator::Project include WithRobotLegsTemplates include ActAsRobotLegsKlassGenerator define :command => "view", :usage => "generate as3 robotlegs view test CLASS_NAME", :description => "Creates ASUnit4 view test." def template_file "as3/robotlegs/test/asunit4/view.as.tt" end def generate @package_name += ".components" unless @package_name == "" @class_name += "Test" super end no_tasks { def instance_name @class_name.chomp("Test") end } end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gator-as3-robotlegs-0.0.3.pre | lib/gator/as3/robotlegs/generators/test/asunit4/view.rb |