lib/picky/extensions/array.rb in picky-0.12.1 vs lib/picky/extensions/array.rb in picky-0.12.2
- old
+ new
@@ -26,17 +26,9 @@
end
end
result
end
- # Accesses a random element of this array.
- #
- # TODO Remove?
- #
- def random
- self[Kernel.rand(self.length)]
- end
-
# Sort the array using distance from levenshtein.
#
# Will raise if encounters not to_s-able element.
#
def sort_by_levenshtein! from
\ No newline at end of file