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

Charles Turner vze26m98 at optonline.net
Thu Aug 28 21:03:25 UTC 2008


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

-Charles




More information about the textmate-dev mailing list