lib/arql/multi_io.rb in arql-0.1.15 vs lib/arql/multi_io.rb in arql-0.1.16
- old
+ new
@@ -14,7 +14,15 @@
def <<(target)
@targets ||= []
@targets << target
end
+
+ def delete(io)
+ @targets.delete(io)
+ end
+
+ def include?(io)
+ @targets.include?(io)
+ end
end
end