class Seria::Generators::Migration::InfoTableGenerator
Public Instance Methods
create_migration()
click to toggle source
# File lib/generators/info_table_generator.rb, line 10 def create_migration migration_template( "#{self.class.generator_name}.rb", "db/migrate/create_#{file_name}_#{suffix}.rb" ) end
suffix()
click to toggle source
# File lib/generators/info_table_generator.rb, line 26 def suffix Seria.table_suffix end