From: Ricardo Panaggio Date: 2010-07-22T09:01:31+09:00 Subject: Re: Text to Binary See String#unpack http://ruby-doc.org/core/classes/String.html#M000760 It may be of help On Wed, Jul 21, 2010 at 19:57, Umm Whyshouldisay wrote: >> "some text".unpack('b*') > Alright, awesome. What about ternary (0,1,2)? > -- > Posted via http://www.ruby-forum.com/. > >