Skip to content
Permalink
Browse files

Added missing deprecation methods to make transition from v1 to v2 sm…

…oother.
  • Loading branch information...
juliendelplanque committed Sep 4, 2019
1 parent 3dbd6b1 commit 3fef31976b6daa4aeef0dcab9f3fcde6a860a484
Showing with 25 additions and 0 deletions.
  1. +25 −0 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
]

0 comments on commit 3fef319

Please sign in to comment.
You can’t perform that action at this time.