def remove(obj)
            position = nil

            @scheduled.each_index do |i|
                # object level comparison
                if obj.equal? @scheduled[i]
                    position = i
                    break
                end
            end

            @scheduled.slice!(position) unless position.nil?
        end
def remove(obj)
            position = nil

            @scheduled.each_index do |i|
                # object level comparison
                if obj.equal? @scheduled[i]
                    position = i
                    break
                end
            end

            @scheduled.slice!(position) unless position.nil?
        end
Remove an element from the array