Hi, In message "Re: Warning: redefine instance" on 03/04/21, haldane <jbshaldane / hotmail.com> writes: |Just to clarify my question a little, the warning comes from this line |in singleton.rb (just after the instance has been created): | |def self.instance() @__instance__ end | |Is there any reason it could not be replaced with | |define_method(:instance, proc { @__instance__ }) | |which does not result in the warning? Nice idea, thank you. matz.