Class: Service::Generators::ValueObjectGenerator

Inherits:
Rails::Generators::NamedBase
  • Object
show all
Defined in:
lib/generators/service/value_object/value_object_generator.rb

Instance Method Summary collapse

Instance Method Details

#callObject



11
12
13
14
15
16
# File 'lib/generators/service/value_object/value_object_generator.rb', line 11

def call
  value_objects.each do |u|
    @value_object = u.classify
    create_main(u)
  end
end