Hi,
While googling to search how could I implement a singleton in crystal, I've found this shard.
However, I have implemented a singleton as following :
class Options
class_property with_experimental : Bool = false
end
As crystal, is more and more mature (singleton could be native) is this shard still having non-native (not in std) features ?
Regards,
Hi,
While googling to search how could I implement a singleton in
crystal, I've found thisshard.However, I have implemented a singleton as following :
As
crystal, is more and more mature (singleton could be native) is thisshardstill having non-native (not in std) features ?Regards,