Sha256: a04e403d19a69e170772e57cc1496a812054ea03e7ba7a75e31ec98d7ac0f78a
Contents?: true
Size: 486 Bytes
Versions: 7
Compression:
Stored size: 486 Bytes
Contents
module RedisImporter module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) argument :file_storage_type, :type => :string def generate_collection copy_file "redis_importer.example.yml", "config/redis_importer.yml" file_basename = "#{file_storage_type.downcase}_config" copy_file "#{file_basename}.example.yml", "config/#{file_basename}.yml" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems