From: Manoj Kumar Date: 2010-06-27T22:38:36+09:00 Subject: Re: Singleton class in Ruby Hi Jesus, Thanks for your reply. class Sample def in_class 'in_class' end end @sample = Sample.new @sample.instance_eval do def in_singleton 'in singleton' end end In @sample object, in_class method will be available in Sample class. But in_singleton method will be available in sinlgeton class of @sample. That singleton class will be available in memory. But i couldn't see that class in the form of object or some thing else. Thanks, Manoj -- Posted via http://www.ruby-forum.com/.