{"library":"singleton","type":"library","category":null,"description":"The Singleton module implements the Singleton pattern, ensuring a class has only one instance.","language":"ruby","status":"active","version":"0.3.0","tags":["design-pattern","singleton","utility"],"last_verified":"Thu Jun 18","install":[{"cmd":"gem install singleton","imports":["require 'singleton'"]},{"cmd":"# Gemfile\ngem 'singleton', '~> 0.3.0'","imports":[]}],"homepage":"https://github.com/ruby/singleton","github":"https://github.com/ruby/singleton","docs":"http://www.rubydoc.info/gems/singleton/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}