# Re: puts behaviour

**URL:** <https://www.ruby-forum.com/t/re-puts-behaviour/71886>\
**Category:** Ruby\
**Created:** [February 22, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/re-puts-behaviour/71886 "2006-02-22T17:36:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [February 22, 2006, 5:36pm UTC](https://www.ruby-forum.com/t/re-puts-behaviour/71886/1 "2006-02-22T17:36:50Z")

</div>

> -----Original Message-----  
> From: removed\_email\_address@domain.invalid  
> [[mailto: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.

Why?

> 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.

Dan

---

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [February 22, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/re-puts-behaviour/71886/2 "2006-02-22T19:15:22Z")

</div>

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.

Regards,  
Jim
