Sha256: 570e855cd1a3fc040e636a0a1f09c4b80da32d79f98cabd70abfd3d7d4fbfc8e

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 Bytes

Contents

module Csv2hash
  module Generators
    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

8 entries across 8 versions & 1 rubygems

Version Path
csv2hash-0.7.7 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.7.6 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.7.5 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.7.3 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.7.2 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.7.1 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.7.0 lib/generators/csv2hash/install/install_generator.rb
csv2hash-0.6.8 lib/generators/csv2hash/install/install_generator.rb