From: Leslie Viljoen Date: 2006-05-07T04:16:44+09:00 Subject: Re: Sharp knives and glue > Plus if you want to avoid namespace pollution just stick this > methods in a module and include the module > > e.g. > > module Curlify > def curlify > "{#{self}}" > end > end > > include Curlify Awesome! Problem easily solved, as usual. I guess the only downside is that I can now "3.curlify". But then I can also curlify anything that behaves like a string, which is what duck typing is all about.