Skip to content

Commit

Permalink
Update Pragma.class.st
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed Oct 21, 2019
1 parent 397197d commit ecfc845
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Kernel/Pragma.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ Pragma >> argumentNamed: aSymbol [
{ #category : #'accessing-pragma' }
Pragma >> argumentNamed: aSymbol ifNone: aBlockClosure [
"Answer the argument of the pragma after the keyword given as parameter.
If none, return the result of the block given as parameter."
If none, return the result of the block given as parameter.
I am more readable than #argumentAt: but also slower."

^ self argumentAt:
(self selector keywords
Expand Down

0 comments on commit ecfc845

Please sign in to comment.