Until recently, this usage worked fine:
module Demo class << self attr_accessor_with_default :x, "hey" end end
However, this is no longer the case.
attr_accessor_with_default has been removed and I am left without a hint how to set this attribute by default.
source share