lib/rtanque/match/tick_group.rb in rtanque-0.1.0 vs lib/rtanque/match/tick_group.rb in rtanque-0.1.1
- old
+ new
@@ -12,11 +12,11 @@
def each(&block)
@members.each(&block)
end
def all_but(*to_exclude)
- self.reject { |member| to_exclude.include?(member) }
+ self.to_a - to_exclude
end
def delete_if(&block)
@members.delete_if(&block)
end
@@ -45,6 +45,6 @@
end
end
end
end
end
-end
\ No newline at end of file
+end