Sha256: 16c91d24453adb6585c4df4321195c47da8317f6b13bdded05f207b26bda7e72

Contents?: true

Size: 362 Bytes

Versions: 3

Compression:

Stored size: 362 Bytes

Contents

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

      desc <<DESC
description:
    copy csv2hash configuration to an initializer.
DESC
      def create_configuration
        template 'csh2hash.rb', 'config/initializers/csh2hash.rb'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv2hash-0.6.7 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.6.6 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.6.5 lib/generators/csv2hash/install/install_generator.rb