class Analects::Generators::CedictGenerator

Public Instance Methods

analects_cedict_model() click to toggle source
# File lib/generators/analects/cedict/cedict_generator.rb, line 17
def analects_cedict_model
  template "model.rb", "app/models/cedict.rb"
end
analects_create_cedict_table() click to toggle source
# File lib/generators/analects/cedict/cedict_generator.rb, line 9
def analects_create_cedict_table
  migration_template "create_cedict_table.rb", "db/migrate/create_cedict_table.rb"
end
analects_populate_cedict_table() click to toggle source
# File lib/generators/analects/cedict/cedict_generator.rb, line 13
def analects_populate_cedict_table
  migration_template "populate_cedict_table.rb", "db/migrate/populate_cedict_table.rb"
end