diff --git a/src/Commander2-Deprecations/CmCommandGroupDecorator.extension.st b/src/Commander2-Deprecations/CmCommandGroupDecorator.extension.st new file mode 100644 index 0000000..20c8fd9 --- /dev/null +++ b/src/Commander2-Deprecations/CmCommandGroupDecorator.extension.st @@ -0,0 +1,25 @@ +Extension { #name : #CmCommandGroupDecorator } + +{ #category : #'*Commander2-Deprecations' } +CmCommandGroupDecorator >> basicDescription [ + self deprecated: 'Use #description instead.' transformWith: '`@receiver basicDescription' -> '`@receiver description'. + ^ self description +] + +{ #category : #'*Commander2-Deprecations' } +CmCommandGroupDecorator >> basicDescription: anObject [ + self deprecated: 'Use #description: instead.' transformWith: '`@receiver basicDescription: `@arg' -> '`@receiver description: `@arg'. + ^ self description: anObject +] + +{ #category : #'*Commander2-Deprecations' } +CmCommandGroupDecorator >> basicName [ + self deprecated: 'Use #name instead.' transformWith: '`@receiver basicName' -> '`@receiver name'. + ^ self name +] + +{ #category : #'*Commander2-Deprecations' } +CmCommandGroupDecorator >> basicName: anObject [ + self deprecated: 'Use #name: instead.' transformWith: '`@receiver basicName: `@arg' -> '`@receiver name: `@arg'. + ^ self name: anObject +]