Trans wrote:
> Well, I suppose there's always
> 
>   m = method(:foo)
>   define_method(:foo) do |str|
>     String(m.call(str))
>   end
> 
> It's a String now! ;)

IMO, it looks more Ruby to use the built in converter methods, even if 
the effect are the same as your example above.

    m.call(str).to_s


Best regards,

Jari Williamsson