MessageSend.st
changeset 24889 e02fbeda3470
parent 24754 19e0f659146d
equal deleted inserted replaced
24888:654beb89f150 24889:e02fbeda3470
   168 
   168 
   169 cull: optionalFirstArg 
   169 cull: optionalFirstArg 
   170     "activate the receiver with one or zero arguments.
   170     "activate the receiver with one or zero arguments.
   171      Squeak compatibility, but also present in VW Smalltalk"
   171      Squeak compatibility, but also present in VW Smalltalk"
   172 
   172 
   173     selector argumentCount >= 1 ifTrue:[^ self value:optionalFirstArg].
   173     selector argumentCount > 0 ifTrue:[^ self value:optionalFirstArg].
   174     ^ self value
   174     ^ self value
   175 
   175 
   176     "Modified: / 03-06-2014 / 12:40:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   176     "Modified: / 03-06-2014 / 12:40:17 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   177 !
   177 !
   178 
   178