Class: Danthes::Generators::RedisInstallGenerator
- Inherits:
-
Base
- Object
- Rails::Generators::Base
- Base
- Danthes::Generators::RedisInstallGenerator
- Defined in:
- lib/generators/danthes/redis_install_generator.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#add_redis_gem ⇒ Object
12 13 14 |
# File 'lib/generators/danthes/redis_install_generator.rb', line 12 def add_redis_gem add_gem 'faye-redis' end |
#copy_files ⇒ Object
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 |