On Thu, Mar 13, 2008 at 11:56:28AM +0900, David A. Black wrote:
> Hi --
>
> On Thu, 13 Mar 2008, Aaron Patterson wrote:
>
>> On Thu, Mar 13, 2008 at 07:58:44AM +0900, Roger Pack wrote:
>>> Aaron Patterson wrote:
>>>> mechanize version 0.7.3 has been released!
>>>
>>> Thanks for mechanize--we use mechanize at work and it works well.
>>
>> Thank you!
>>
>>>
>>> Question on strings:
>>> I seem incapable of figuring out how to 'recreate' this string in
>>> "string" format:
>>>
>>> Here it is byte by byte
>>>
>>> bytes = [100, 101, 110, 116, 226, 60, 56, 48, 62, 60, 57, 57, 62, 115,
>>> 32, 112, 114, 101, 118, 105, 111, 117]
>>> for b in bytes do all << b; end # create the string
>>> all == "dent?<80><99>s previou" # it compared with itself in string form
>>
>> Try using pack:
>
> In other words:
>
> pack, Pack!
>
> The roster of community members whose last names are core methods
> (give or take a capital letter) is growing. There are at least three
> at this point (Freeze, Keys, and Pack).

I've submitted my patch to add the "patterson" method to Array, but I
haven't heard anything back.....

-- 
Aaron Patterson
http://tenderlovemaking.com/