app/workers/destroy_all_deleted_objects_worker.rb
DestroyAllDeletedObjectsWorker#perform doesn't depend on instance state (maybe move it to another class?) Open
Open
def perform(class_name)
- Read upRead up
- Exclude checks
A Utility Function is any instance method that has no dependency on the state of the instance.