93 |
93 |
94 templateReplaceIfNilByIsNilIfTrue |
94 templateReplaceIfNilByIsNilIfTrue |
95 |
95 |
96 ^Array |
96 ^Array |
97 with:('Replace ','ifNil:' allBold,' by ','isNil ifTrue:' allBold) |
97 with:('Replace ','ifNil:' allBold,' by ','isNil ifTrue:' allBold) |
98 with: '@receiver ifNil: @block' |
98 with: '``@receiver ifNil: ``@block' |
99 with: '@receiver isNil ifTrue: @block''' |
99 with: '``@receiver isNil ifTrue: ``@block' |
100 |
100 |
101 "Created: / 04-07-2011 / 19:25:06 / cg" |
101 "Created: / 04-07-2011 / 19:25:06 / cg" |
102 ! |
102 ! |
103 |
103 |
104 templateReplaceIsNilOrEmptyCollectionByIsEmptyOrNil |
104 templateReplaceIsNilOrEmptyCollectionByIsEmptyOrNil |
105 |
105 |
106 ^Array |
106 ^Array |
107 with:('Replace ','isNilOrEmptyCollection' allBold,' by ','isEmptyOrNil' allBold) |
107 with:('Replace ','isNilOrEmptyCollection' allBold,' by ','isEmptyOrNil' allBold) |
108 with: '@receiver isNilOrEmptyCollection' |
108 with: '``@receiver isNilOrEmptyCollection' |
109 with: '@receiver isEmptyOrNil''' |
109 with: '``@receiver isEmptyOrNil''' |
110 |
110 |
111 "Created: / 03-07-2011 / 21:59:47 / cg" |
111 "Created: / 03-07-2011 / 21:59:47 / cg" |
112 ! |
112 ! |
113 |
113 |
114 templateReplaceSelfHaltBySelfBreakPoint |
114 templateReplaceSelfHaltBySelfBreakPoint |