Sha256: dd80e24af789e62a640c9c2b1a4505eed9698d26c41b76bb13ccaed70d75b0d6

Contents?: true

Size: 290 Bytes

Versions: 4

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators'

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

  def copy_initializer_file
    copy_file('install.rb', 'config/initializers/active_redis_db.rb')
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active_redis_db-1.1.0 lib/generators/active_redis_db/install_generator.rb
active_redis_db-1.0.2 lib/generators/active_redis_db/install_generator.rb
active_redis_db-1.0.1 lib/generators/active_redis_db/install_generator.rb
active_redis_db-1.0.0 lib/generators/active_redis_db/install_generator.rb