This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
Commands/ | Wed Aug 13 04:19:00 -0700 2008 | [drnic] |
| |
README.markdown | Wed Jul 02 05:50:14 -0700 2008 | [lachie] |
| |
Rakefile | Sat Jun 07 06:48:36 -0700 2008 | [drnic] |
| |
RubyCocoa.tmbundle | Wed Aug 13 03:30:22 -0700 2008 | [drnic] |
| |
Snippets/ | Sun Jun 15 22:40:00 -0700 2008 | [drnic] |
| |
Support/ | Wed Jul 02 05:41:11 -0700 2008 | [lachie] |
| |
Syntaxes/ | Sat Jun 07 05:36:45 -0700 2008 | [drnic] |
| |
info.plist | Wed Aug 13 04:19:00 -0700 2008 | [drnic] |
README.markdown
RubyCocoa TextMate bundle
Installation
To install via Git:
cd ~/"Library/Application Support/TextMate/Bundles/"
git clone git://github.com/drnic/rubycocoa-tmbundle.git "RubyCocoa.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'
Source can be viewed or forked via GitHub: http://github.com/drnic/rubycocoa-tmbundle/tree/master
Features
- Cannot remember whether to use NSRange.new or NSRange.init.alloc? Let the bundle help. Type "NSRange." and press tab and it will attempt to guess for you.
- 'clan' expands into a class definition for the current file name, as an
OSX::NSObjectsubclass (the tab completion comes from: class NSObject)
Cut-n-pasted
- (void)bind:(NSString *)binding toObject:(id)observableController withKeyPath:(NSString *)keyPath options:(NSDictionary *)options
from the doco?
Select and do cmd-M to convert into a RubyCocoa method:
def bind_toObject_withKeyPath_options(binding,observableController,keyPath,options)
end
Cmd-Shift-M converts it into a RubyCocoa-style call:
obj.bind_toObject_withKeyPath_options(binding,observableController,keyPath,options)
Maintainer
Dr Nic Williams, drnicwilliams@gmail.com, http://drnicwilliams.com




