Commit 6c9013e2 authored by Christopher Aue's avatar Christopher Aue

Removed unneeded block check in Array#uniq

parent f3fb43c7
......@@ -81,11 +81,7 @@ class Array
#
def uniq(&block)
ary = self.dup
if block
ary.uniq!(&block)
else
ary.uniq!
end
ary
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment