class Planter::Generators::SeederGenerator

Public Instance Methods

generate_seeders() click to toggle source
# File lib/generators/planter/seeder_generator.rb, line 8
def generate_seeders
  seeder == 'ALL' ? tables.each { |t| generate(t) } : generate(seeder)
end