Needed to pass sort block.

parent ec390e8f
......@@ -325,7 +325,7 @@ module Enumerable
#
# ISO 15.3.2.2.19
def sort(&block)
self.map{|*val| val.__svalue}.sort
self.map{|*val| val.__svalue}.sort(&block)
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