ActionsLike0
Feature #17721
closedProc.new should be able to contruct a lambda
Status:
Feedback
Assignee:
-
Target version:
-
Description
since procs and lambdas are of the same type, as long as Proc::new exists, it should be able to create either.
class Proc
def augment
self.class.new lambda? do
call
end
end
end
Updated by ko1 (Koichi Sasada) over 3 years ago
- Status changed from Open to Rejected
Updated by naruse (Yui NARUSE) over 3 years ago
- Status changed from Rejected to Feedback
ActionsLike0