lib/push0r/Queue.rb
def register_service(service)
      unless @services.include?(service)
        @services << service
      end
    end
# Registers a Service with the Queue
# @note Every service can only be registered once with the same queue
# @param service [Service] the service to be registered with the queue
# @return [void]
# @see Service
Registers a Service with the Queue
Registers a Service with the Queue
def register_service(service)
      unless @services.include?(service)
        @services << service
      end
    end
def register_service ( service ) unless @services . include? ( service ) @services << service end end
Registers a Service with the Queue
Registers a Service with the Queue
None
void
service
the service to be registered with the queue
the service to be registered with the queue
note
Every service can only be registered once with the same queue
Every service can only be registered once with the same queue
see
None