Module: SeedUpgrade::GeneratorHelpers

Included in:
ModelGenerator, ReviseModelGenerator
Defined in:
lib/seed_upgrade/generator_helpers.rb

Instance Method Summary collapse

Instance Method Details

#generate_seed_file_data(singular_name) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/seed_upgrade/generator_helpers.rb', line 4

def generate_seed_file_data(singular_name)
  %Q`
10.times do
  #{ singular_name.camelize }.make!
end
`
end