[Glass] Implementation Request in SmalltalkProxy
Paul DeBruicker via Glass
glass at lists.gemtalksystems.com
Tue May 15 09:46:36 PDT 2018
Why not just change the baseline to be portable?
customProjectAttributes
^Smalltalk at: #UnitValue ifNil:[^ Array with: #UnitsIsLoaded ]
ifNotNil:[:cl | ^ Array with:#UnitsIsAbsent ]
GLASS mailing list wrote
> Hi,
>
> Installing Highcharts 6.0 for GemStone has dependency on Renoir package.
> The installation script use Smalltalk globals at:ifPresent:ifAbsent:
> See:
> https://github.com/ba-st/RenoirSt/blob/master/source/BaselineOfRenoirSt/BaselineOfRenoirSt.class.st#L25
>
> SmalltalkProxy does no implement at:ifPresent:ifAbsent:.
> It will be good to have it. I already implement it as:
> at: key ifPresent: oneArgBlock ifAbsent: absentBlock
> self at: key ifPresent: [ :v | ^oneArgBlock value: v ].
> ^absentBlock value
>
> But it will be better if it is present in GemStone by default.
>
> regards,
> bruno
>
>
> ---
> El software de antivirus Avast ha analizado este correo electrónico en
> busca de virus.
> https://www.avast.com/antivirus
>
> _______________________________________________
> Glass mailing list
> Glass at .gemtalksystems
> http://lists.gemtalksystems.com/mailman/listinfo/glass
--
Sent from: http://forum.world.st/GLASS-f1460844.html
More information about the Glass
mailing list