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

James Gray james at grayproductions.net
Thu Aug 28 21:09:31 UTC 2008


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.

James Edward Gray II


More information about the textmate-dev mailing list