Project

General

Profile

Feature #12854

Proc#curry should return an instance of the class, not Proc

Added by zenspider (Ryan Davis) over 4 years ago. Updated over 3 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-core:77672]

Description

class ChainedProc < Proc
end

ChainedProc.new { |x, y, z| 42 }.curry.class # => Proc

Also available in: Atom PDF