Sha256: d055ca71fac0d402297cb7c0e366c27936b55054ae5815b86948798147ae6bd4

Contents?: true

Size: 697 Bytes

Versions: 1

Compression:

Stored size: 697 Bytes

Contents

module Gator
  module AS3
    module RobotLegs
      module WithRobotLegsTemplates
        def self.included(base)
          base.extend(ClassMethods)
        end

        module ClassMethods
          def template_root
            File.dirname(__FILE__) + "/../templates"
          end
        end
      end
      module ActAsRobotLegsKlassGenerator
        def generate_test_command
          super.unshift "robotlegs"
        end
      end
      module ActAsRobotLegsTestGenerator
        def generate_klass_command
          ["robotlegs", definition[:command]]
        end

        def update_suite
          invoke resolve_subcommand(["test", "suite"])
        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/generator.rb