Class: WebFeed::KeywordGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- WebFeed::KeywordGenerator
- Defined in:
- lib/generators/web_feed/keyword_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_migration ⇒ Object
9 10 11 |
# File 'lib/generators/web_feed/keyword_generator.rb', line 9 def generate_migration migration_template "migrations/create_keywords.rb.erb", "db/migrate/create_#{name.downcase.underscore.pluralize}.rb" end |