From: Jonathan Leighton Date: 2006-01-06T03:19:40+09:00 Subject: Initialization using the Singleton design pattern Hi, I have a singleton class, as in one that does "include Singleton". I want to run a few methods when the instance is created. Usually one would do that in initialize(), but obviously I can't do that here. This is what I've thought of but it raises an error which says "super: no superclass method `instance'" class SingletonClass < ParentClass include Singleton def self.instance super # initialization code here end end What am I doing wrong? Cheers -- Jonathan Leighton http://turnipspatch.com/ | http://jonathanleighton.com/ | http://digital-proof.org/