Use the Ruby Singleton class inside Util::Singleton.
Although our simple implementation worked also just fine, the builtin Singleton has some more checks built into it - just good to rely on something that's well tried and tested.
Loading
Please register or sign in to comment