Sha256: c283649b4d99fe1de300bb186e3166dc1f709bd754d99201197d985c9e1c2543

Contents?: true

Size: 379 Bytes

Versions: 6

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

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

      desc 'Creates a sample WineBouncer initializer.'
      def copy_initializer
        copy_file 'wine_bouncer.rb', 'config/initializers/wine_bouncer.rb'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
privy_wine_bouncer-1.0.4.5 lib/generators/wine_bouncer/initializer_generator.rb
wine_bouncer-1.0.4 lib/generators/wine_bouncer/initializer_generator.rb
wine_bouncer-1.0.3 lib/generators/wine_bouncer/initializer_generator.rb
wine_bouncer-1.0.2 lib/generators/wine_bouncer/initializer_generator.rb
wine_bouncer-1.0.1 lib/generators/wine_bouncer/initializer_generator.rb
wine_bouncer-1.0.0 lib/generators/wine_bouncer/initializer_generator.rb