Project

General

Profile

Actions

Feature #12854

open

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

Added by zenspider (Ryan Davis) about 5 years ago. Updated about 4 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
Actions

Also available in: Atom PDF