Robert Klemme wrote: > Granted, the version using to_s is certainly questionable but the other > two alternatives (especially p, which uses #inspect internally) are > pretty clear, aren't they? They sure are, but some projects, in this case Rails, seem to use the to_s method. And I don't understand why that remove-all-spaces approach is chosen. But perhaps there are good reasons for this, I'm not a longtime ruby user so I just wonder. Thanks for your explanation Bart