Class: Danthes::Generators::RedisInstallGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/danthes/redis_install_generator.rb

Instance Method Summary collapse

Methods inherited from Base

banner, source_root

Instance Method Details

#add_redis_gemObject



12
13
14
# File 'lib/generators/danthes/redis_install_generator.rb', line 12

def add_redis_gem
  add_gem 'faye-redis'
end

#copy_filesObject



8
9
10
# File 'lib/generators/danthes/redis_install_generator.rb', line 8

def copy_files
  template 'danthes_redis.yml', 'config/danthes_redis.yml'
end