Method: Roby::Application#cleanup_user_lifecycle_hooks

Defined in:
lib/roby/app.rb

#cleanup_user_lifecycle_hooks(hook_set) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Removes all lifecycle hooks that are marked as user hooks



2429
2430
2431
# File 'lib/roby/app.rb', line 2429

def cleanup_user_lifecycle_hooks(hook_set)
    hook_set.delete_if(&:user?)
end