[SVN] Re: Source bundle, comment line command: Changes for Ruby 1.9

James Gray james at grayproductions.net
Fri Aug 29 16:10:14 UTC 2008


On Aug 28, 2008, at 4:17 PM, Charles Turner wrote:

> On Thu, 28 Aug 2008 16:09:31 -0500, James Gray wrote:
>> On Aug 28, 2008, at 4:03 PM, Charles Turner wrote:
>>
>>> On Thu, 28 Aug 2008 15:45:37 -0500, James Gray wrote:
>>>> OK, we can't go to just lines() here, since it breaks 1.8.  Can we
>>>> use
>>>> my previous trick though?
>>>>
>>>>  text.send(text.respond_to?(:lines) ? :lines : :to_s)…
>>>
>>> Change away! I'll let you kow if it breaks on 1.9
>>
>> How about you check it for me on 1.9 first.  I'll check it on 1.8.   
>> If
>> we both give it the thumbs up, we know it's safe.
>
> I've made the change on my side and it works fine...

I've committed this change.

James Edward Gray II


More information about the textmate-dev mailing list