Sha256: 7df75c0bb1e0a2b7d62f5d87624c24a863bedbd321477d498896bfd5dd2532e6

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

require 'dry/swagger'
require 'rails'

module Dry
  module Swagger
    class Railtie < Rails::Railtie
      railtie_name :my_gem

      rake_tasks do
        path = File.expand_path(__dir__)
        Dir.glob("#{path}/tasks/**/*.rake").each { |f| load f }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-swagger-0.6.2 lib/dry/swagger/railtie.rb