Timeline for String to Binary
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 23, 2015 at 22:55 | comment | added | Martin Ender | @britishtea Oh, nice. thank you! | |
Jan 23, 2015 at 22:54 | history | edited | Martin Ender | CC BY-SA 3.0 |
added 38 characters in body
|
Jan 23, 2015 at 22:16 | comment | added | britishtea |
You can shave off some more characters by using String#bytes instead of String#each_byte . The block form is deprecated, but it still works :)
|
|
Jan 23, 2015 at 19:12 | history | edited | Martin Ender | CC BY-SA 3.0 |
added 38 characters in body
|
Jan 23, 2015 at 19:07 | comment | added | AShelly |
trim by 6 with $<.each_byte{|c|$><<"%b "%c}
|
|
Jan 22, 2015 at 23:16 | history | answered | Martin Ender | CC BY-SA 3.0 |