Can sorbet handle private definitions of initialize() when called with new?

前端 未结 0 1917
南笙
南笙 2020-12-22 20:34

I am getting an error calling the initialize method:

# typed: true
class A
  extend T::Sig

  sig {params(x: Integer).void}
  private def initialize(x)
  end
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题