lib/reality/facets/generators_integration.rb in reality-facets-1.7.0 vs lib/reality/facets/generators_integration.rb in reality-facets-1.8.0

- old
+ new

@@ -17,12 +17,12 @@ class << self # Copy the targets from the specified generator container to the facet container. # This is typically used when projects include both reality-generators and reality-facets # and do not want to duplicate the code tor defining targets in both systems - def copy_targets_to_generator_target_manager(generator_container, facet_container) + def copy_targets_to_generator_target_manager(template_set_container, facet_container) facet_container.target_manager.targets.each do |target| - generator_container.target_manager.target(target.key, target.container_key, :access_method => target.access_method) + template_set_container.target_manager.target(target.key, target.container_key, :access_method => target.access_method) end end end end end