From: "David A. Black" Date: 2009-09-18T00:38:52+09:00 Subject: Re: Mucking about with dynamically adding methods to objects Hi -- On Fri, 18 Sep 2009, Paul Smith wrote: > irb(main):014:2> (class << obj;self;end).instance_eval do > irb(main):015:3* define_method :talk do Here's a starting point: http://www.wobblini.net/singletons.html David -- David A. Black, Director Ruby Power and Light, LLC (http://www.rubypal.com) Ruby/Rails training, consulting, mentoring, code review Book: The Well-Grounded Rubyist (http://www.manning.com/black2)