Sha256: d74c9a22b5a9afabe3b243430444f7171f1c4c619c2d779b65e16de1283b5574

Contents?: true

Size: 719 Bytes

Versions: 1

Compression:

Stored size: 719 Bytes

Contents

module Gator
  module MXML
    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/mxml/robotlegs/generators/generator.rb