Mailinglist Archive: yast-devel (87 mails)

< Previous Next >
Re: [yast-devel] An interesting Ruby exercise for a Friday
On 02/10/2017 02:06 PM, Ancor Gonzalez Sosa wrote:
And all calls to #to_s, #inspect are safe. Even using formatters like
pretty_print or awesome_print should be safe.

Ah, and I found one little case where redefining #to_s might cause some
problems:

```life
When you really want to use it for something else than logging
```

Thx
Lukas

--

Lukas Ocilka, Systems Management (Yast) Team Leader
SLE Department, SUSE Linux
Sent from my Zarma Haka 3.0
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References