Modifying instance creation.
This commit is contained in:
parent
26a7f763d1
commit
c8a8be21fa
@ -18,7 +18,8 @@ Class {
|
||||
InstagramUrl class >> newURL: url [
|
||||
| instance |
|
||||
instance := self new.
|
||||
instance url: (instance urlCheck: url).
|
||||
instance url: url.
|
||||
instance setTypeByUrl.
|
||||
^ instance
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user