Sha256: 267263bb1f215e37f79eed6156bcc2109fe2ce1eb4bb21b4e103258c60635ccc

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

require 'rails/generators'

module Rswag3
  module Specs

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

      def add_swagger_helper
        template('swagger_helper.rb', 'spec/swagger_helper.rb')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rswag3-specs-0.0.2 lib/generators/rswag3/specs/install/install_generator.rb
rswag3-specs-0.0.1 lib/generators/rswag3/specs/install/install_generator.rb