Sha256: eeb8796d5a824cc10c7704581e74ebc1a29446c383d182041e1190bce3c591bb

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module LinkThumbnailer
  module Generators
    class InstallGenerator < ::Rails::Generators::Base

      source_root File.expand_path('../../templates', __FILE__)

      desc 'Creates a LinkThumbnailer initializer for your application.'

      def copy_initializer
        template 'initializer.rb', 'config/initializers/link_thumbnailer.rb'
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
link_thumbnailer-3.4.0 lib/generators/link_thumbnailer/install_generator.rb
link_thumbnailer-3.3.2 lib/generators/link_thumbnailer/install_generator.rb