Hi Daniel, Daniel Schierbeck wrote: > class SomeClass > def foo(obj) > str = obj.to_str > puts str + str # or `str * 2' > puts str.reverse > end > end this might work in this very simple expample, but what if class SomeMonsterousClass def very_complexe_method a_very_complicated_obejct a_very_complicated_obejct.do_something lots_of_other_operations lots_of_other_operations lots_of_other_operations lots_of_other_operations ... end end So here you cant just convert any given object to a_very_complicated_object. By the way your solution would not work with nil. Nevertheless, thank you for your support. Greetings, Yochen -- Posted via http://www.ruby-forum.com/.