Forum: Ruby Re: puts behaviour

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Berger, Daniel (Guest)
on 2006-02-22 18:36
(Received via mailing list)
> -----Original Message-----
> From: removed_email_address@domain.invalid
> [mailto:removed_email_address@domain.invalid] On Behalf Of James B.
> Sent: Wednesday, February 22, 2006 9:29 AM
> To: ruby-talk ML
> Subject: puts behaviour
> I have a number of "puts" in my testcase file.


> When I run my test
> harness using ruby -w test/testcase.rb the first "puts" in the second
> method prefixes the output string with a '.'  I cannot seem to locate
> any reference to this behaviour.  Under what circumstances
> does "puts"
> without any argument produce '.' as output?

I think you're just seeing the default testrunner behavior.

James B. (Guest)
on 2006-02-22 20:15
Berger, Daniel wrote:

>> I have a number of "puts" in my testcase file.
> Why?

So that I could see certain values as they changed while developing the
test cases.  They are all gone now.  But the leading -dot- on some of my
directory paths was most confusing for a few moments.

This topic is locked and can not be replied to.