lib/funkr/extensions/enumerable.rb in funkr-0.0.14 vs lib/funkr/extensions/enumerable.rb in funkr-0.0.15

- old
+ new

@@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- module Enumerable # enumerable extensions def all_different? - a = self.to_a + a = self.to_a.drop(1) self.each do |e| return false if a.include?(e) a.shift end return true