• S
    Allow proc defaults with the Attributes API · a6e3cdae
    Sean Griffin 提交于
    This is a variant implementation of the changes proposed in #19914.
    Unlike that PR, the change in behavior is isolated in its own class.
    This is to prevent wonky behavior if a Proc is assigned outside of the
    default, and it is a natural place to place the behavior required by #19921
    as well.
    
    Close #19914.
    
    [Sean Griffin & Kir Shatrov]
    a6e3cdae
user_provided_default.rb 361 字节