Project

General

Profile

Actions

Feature #12854

closed

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

Added by zenspider (Ryan Davis) over 7 years ago. Updated over 6 years ago.

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

Description

class ChainedProc < Proc
end

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0