[ANN] Ruby Idioms (TextMate Bundle)

Let me clarify that I understand a plain text file would not generate
code interactively in another editor. I guess I'm seeking a collection
of all the idioms you have gathered that could be used for study and
copy/paste. I recall not knowing how to get at the syntax examples -- a
file type I did not recognize as a Windows user. I don't mean to create
significantly more work for you though, as I appreciate all you already
contribute to the community.

Jamal

···

-----Original Message-----
From: James Edward Gray II [mailto:james@grayproductions.net]
Sent: Wednesday, April 26, 2006 10:28 AM
To: ruby-talk ML
Subject: Re: [ANN] Ruby Idioms (TextMate Bundle)

On Apr 26, 2006, at 9:21 AM, Jamal Mazrui wrote:

Hi James,
Would you consider also making the bundle available as a plain text
file
that does not depend on a particular editor or OS?

I cannot think of a reasonably way to do this. It depends on the
Snippet/Marco/Command functionality of the editor I built it for. I
welcome ports to other editors though...

James Edward Gray II

Most of the files in the bundle are XML files. If you open them in a text editor or view them in the online repository[1], you will see the contents, my tab triggers/keyboard shortcuts for them, etc. You could use the TextMate manual[2] to answer questions about the special combinations inside of the content.

Here's an example:

http://macromates.com/svn/Bundles/trunk/Bundles/Ruby%20Idioms.tmbundle/Snippets/deep_copy(..)%20%20(dee).plist

Hope that helps.

James Edward Gray II

1: http://macromates.com/svn/Bundles/trunk/
2: TextMate Manual

···

On Apr 26, 2006, at 9:49 AM, Jamal Mazrui wrote:

Let me clarify that I understand a plain text file would not generate
code interactively in another editor. I guess I'm seeking a collection
of all the idioms you have gathered that could be used for study and
copy/paste. I recall not knowing how to get at the syntax examples -- a
file type I did not recognize as a Windows user. I don't mean to create
significantly more work for you though, as I appreciate all you already
contribute to the community.