detach-recovery #1
@ -1,3 +1,3 @@
|
||||
accessing
|
||||
id
|
||||
^ id ifNil: [id := (self profileImageUrl segments select: [ :each | each asInteger class = LargePositiveInteger]) first.]
|
||||
^ id ifNil: [id := (self profileImageUrl asUrl segments select: [ :each | each isAllDigits ]) first.]
|
@ -1,4 +1,4 @@
|
||||
accessing
|
||||
profileImageUrl
|
||||
^ profileImageUrl ifNil: [
|
||||
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') asUrl ]
|
||||
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') ]
|
Loading…
Reference in New Issue
Block a user