From: Florian Gross Date: 2003-10-26T08:24:09+09:00 Subject: Re: Overloading to_s in a class of my own Moin! Carl Youngblood wrote: > Creating to_str in my class still doesn't work. This works fine for me: class Path def initialize(path) @path = path.to_s end def to_str @path end end Dir.mkdir(Path.new("Hello World!")) >> Regards, >> Florian Gross