Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed May 25, 2021
1 parent 9f4808a commit 51f0fe3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ _dispatch: member arguments: arguments ifFail: failBlock
(Interop isMemberInvocable: self member: member)
ifTrue: [ ^ Interop invokeMember: self member: member arguments: arguments ].
(arguments size = 1 and: [ Interop isMemberWritable: self member: member])
ifTrue: [^ Interop writeMember: self member: member value: arguments first ].
ifTrue: [ ^ Interop writeMember: self member: member value: arguments first ].
^ (Interop isMemberReadable: self member: member)
ifTrue: [ | result |
result := Interop readMember: self member: member.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ doesNotUnderstand: aMessage
identifier := aMessage selector asString copyUpTo: $:.
arguments := aMessage arguments.
^ self _dispatch: identifier arguments: arguments
ifFail: [ ^ super doesNotUnderstand: aMessage ].
ifFail: [ super doesNotUnderstand: aMessage ].
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"==" : "fn 11/18/2020 15:45",
">" : "fn 8/2/2019 09:14",
">=" : "fn 8/2/2019 09:14",
"_dispatch:arguments:ifFail:" : "fn 3/30/2021 16:40",
"_dispatch:arguments:ifFail:" : "fn 5/25/2021 13:52",
"_dispatch:ifFail:" : "fn 8/2/2019 17:02",
"_redirect:" : "fn 8/2/2019 17:02",
"adaptToNumber:andSend:" : "fn 11/11/2019 22:07",
Expand All @@ -43,7 +43,7 @@
"copy" : "fn 8/2/2019 16:59",
"deepCopy" : "fn 8/2/2019 16:59",
"defaultLabelForInspector" : "fn 5/6/2020 16:57",
"doesNotUnderstand:" : "fn 8/2/2019 17:02",
"doesNotUnderstand:" : "fn 5/25/2021 13:52",
"explorableMembers" : "fn 2/11/2021 10:51",
"explorerContents" : "fn 2/11/2021 15:47",
"getSource" : "fn 7/17/2020 15:22",
Expand Down

0 comments on commit 51f0fe3

Please sign in to comment.