Timeline for Write lines in detention
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2014 at 12:26 | comment | added | Wayne Conrad | Assigning e inside the interpolation is a nice touch. | |
Oct 23, 2014 at 23:27 | history | edited | Mikey | CC BY-SA 3.0 |
added 7 characters in body
|
Oct 23, 2014 at 23:20 | comment | added | britishtea |
You could shave off a few more bytes by not assigning the lines first. The space between puts and a string literal is optional (puts"hi" is legal).
|
|
Oct 23, 2014 at 23:18 | comment | added | Mikey | @britishtea - worked a treat :) | |
Oct 23, 2014 at 23:18 | history | edited | Mikey | CC BY-SA 3.0 |
deleted 5 characters in body
|
Oct 23, 2014 at 23:12 | comment | added | britishtea |
Clever use of 1.8's character literals! You might be able to use String#* to repeat the lines 25 times instead of Integer#times .
|
|
Oct 23, 2014 at 23:09 | history | answered | Mikey | CC BY-SA 3.0 |