I\'m trying to write the most secure singleton in Ruby that I can. I\'m new to the language, which is so elastic that I don\'t have a strong feeling that my singleton class wil
require 'singleton' class Klass include Singleton # ... end
See the Ruby Standard Library Singleton class documention for an explanation.