Skip to content

Commit

Permalink
Removed methods duplicated in traits.
Browse files Browse the repository at this point in the history
  • Loading branch information
juliendelplanque committed Jun 21, 2019
1 parent 4f93397 commit 39e91ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
10 changes: 0 additions & 10 deletions src/Commander2/CmCommand.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,3 @@ CmCommand >> initialize [
self basicName: self class defaultCommandName.
self basicDescription: self class defaultDescription
]

{ #category : #hooks }
CmCommand >> name [
"This hook is called to generate a name that depends on the context.
When entering this method, one can expect that the context can be accessed
through a call to #context method.
By default, my #basicName is returned.
"
^ self basicName
]
20 changes: 0 additions & 20 deletions src/Commander2/CmObject.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,6 @@ Class {
#category : #'Commander2-Core'
}

{ #category : #accessing }
CmObject >> basicDescription [
^ self subclassResponsibility
]

{ #category : #accessing }
CmObject >> basicDescription: aString [
^ self subclassResponsibility
]

{ #category : #accessing }
CmObject >> basicName [
^ self subclassResponsibility
]

{ #category : #accessing }
CmObject >> basicName: aString [
^ self subclassResponsibility
]

{ #category : #testing }
CmObject >> isCommand [
^ false
Expand Down

0 comments on commit 39e91ae

Please sign in to comment.