Sha256: 4687161827a84d62c09ff9712443da029730a632f74f13d946cf256ff4a83dc6

Contents?: true

Size: 394 Bytes

Versions: 10

Compression:

Stored size: 394 Bytes

Contents

module Jasmine
  module Generators
    class ExamplesGenerator < Rails::Generators::Base

      def self.source_root
        @source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
      end

      def copy_example_files
        directory 'public'
        directory 'spec'
      end

      def app_name
        Rails.application.class.name
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
jasmine-1.2.0.rc3 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.1.2 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.1.0 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.1.0.rc4 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.1.0.rc3 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.1.0.rc2 lib/generators/jasmine/examples/examples_generator.rb
josephholsten-jasmine-1.1.0.pre.10 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.0.2.1 lib/generators/jasmine/examples/examples_generator.rb
josephholsten-jasmine-1.1.0.pre.1 lib/generators/jasmine/examples/examples_generator.rb
jasmine-1.0.2.0 lib/generators/jasmine/examples/examples_generator.rb