1
0
Fork 0

TLV: Introduce isConditional, use the class selectors for comparison

This commit is contained in:
Holger Hans Peter Freyther 2012-08-20 11:03:19 +02:00
parent b2491f15be
commit ebdc56fcb1
1 changed files with 7 additions and 2 deletions

View File

@ -107,12 +107,17 @@ Object subclass: TLVDescription [
isOptional [
<category: 'access'>
^ kind = #optional
^ kind = self class optional
]
isMandatory [
<category: 'access'>
^ self isOptional not
^ kind = self class mandatory
]
isConditional [
<category: 'access'>
^ kind = self class conditional
]
hasLength [