Socialmetrica/Socialmetrica.package/TweetsCollection.class/instance/pinned.st

8 lines
174 B
Smalltalk
Raw Permalink Normal View History

2022-04-15 05:05:17 +00:00
accessing
pinned
| first second |
first := self messages first.
(first metadata at: 'pinned') = 1
ifFalse: [ ^ first ].
second := self messages second.
^ first created