Class: Bulk::Generators::ResourceGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/bulk/resource/resource_generator.rb

Instance Method Summary collapse

Instance Method Details

#generate_part_classObject



8
9
10
# File 'lib/generators/bulk/resource/resource_generator.rb', line 8

def generate_part_class
  template "resource.rb", "app/bulk/#{file_name}_resource.rb"
end