YARD CHEATSHEET http://yardoc.org
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| localeIdentifier | Description | |
|---|---|---|
| eu | Basque | |
| hr_BA | Croatian (Bosnia & Herzegovina) | |
| en_CM | English (Cameroon) | |
| rw_RW | Kinyarwanda (Rwanda) | |
| en_SZ | English (Swaziland) | |
| tk_Latn | Turkmen (Latin) | |
| he_IL | Hebrew (Israel) | |
| ar | Arabic | |
| uz_Arab | Uzbek (Arabic) |
| eu | Basque | |
|---|---|---|
| hr_BA | Croatian (Bosnia & Herzegovina) | |
| en_CM | English (Cameroon) | |
| rw_RW | Kinyarwanda (Rwanda) | |
| en_SZ | English (Swaziland) | |
| tk_Latn | Turkmen (Latin) | |
| he_IL | Hebrew (Israel) | |
| ar | Arabic | |
| uz_Arab | Uzbek (Arabic) |
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
| + (NSString *) descriptionOfProgram:(id)program | |
| { | |
| NSMutableArray *stack; | |
| if ([program isKindOfClass:[NSArray class]]) stack = [program mutableCopy]; | |
| NSString *programDescription = @""; | |
| while (stack.count) { | |
| programDescription = [programDescription stringByAppendingString:[self descriptionOfTopOfStack:stack]]; | |
| if (stack.count) { | |
| programDescription = [programDescription stringByAppendingString:@", "]; | |
| } |