Class: Rails::Generators::RedisGenerator
- Inherits:
-
NamedBase
- Object
- NamedBase
- Rails::Generators::RedisGenerator
- Defined in:
- lib/generators/rails/redis_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_model_file ⇒ Object
12 13 14 |
# File 'lib/generators/rails/redis_generator.rb', line 12 def create_model_file template 'model.rb', File.join('app/models',class_path,"#{file_name}.rb") end |