Sha256: fda955d6f4e72c8a85d34583eac6ba1fc43d1b76c1c2d3b830ee6f3b4b3960fd

Contents?: true

Size: 319 Bytes

Versions: 4

Compression:

Stored size: 319 Bytes

Contents

module Rails
  module Generators
    class SetupGenerator < Base
      source_root File.expand_path('../templates', __FILE__)

      def create_form_file
        template 'application_trans_form.rb', File.join('app/trans_forms', 'application_trans_form.rb')
      end

      hook_for :test_framework

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trans_forms-0.2.2 lib/generators/rails/setup_generator.rb
trans_forms-0.2.1 lib/generators/rails/setup_generator.rb
trans_forms-0.2.0 lib/generators/rails/setup_generator.rb
trans_forms-0.1.0 lib/generators/rails/setup_generator.rb