rbs icon indicating copy to clipboard operation
rbs copied to clipboard

`Proc::new` is the one that take the block, not `Proc#initialize`

Open ParadoxV5 opened this issue 2 years ago • 0 comments

May be specific to CRuby; may be a bug.

class MyProc < Proc
  def self.new = super { :new }
  def initialize = super { :initialize }
  
  new.() #=> :new
end

ParadoxV5 avatar Dec 31 '23 02:12 ParadoxV5