|
Re: print vs puts behaviour for overloaded Array#to_s: msg#00784lang.ruby.general
>>>>> "S" == Steve Hill <stephen.hill@xxxxxxxxxxxx> writes: S> Any help would be appreciated. Because test is an Array, and #puts do something different with an Array. it make something like your method test#to_s (i.e. it execute a loop) Guy Decoux
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | print vs puts behaviour for overloaded Array#to_s, Steve Hill |
|---|---|
| Next by Date: | RE: Coding challenge (on Ruby Garden), George Ogata |
| Previous by Thread: | print vs puts behaviour for overloaded Array#to_s, Steve Hill |
| Next by Thread: | Getting the file name from a File::Stat object?, Lloyd Zusman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |