Even with a fixed String for *a.pw* assignment, it still happens.
*if false pwtemp = Gen.pw(24).to_selse pwtemp = 'z+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$h'end* On Tuesday, September 26, 2023 at 5:58:50 AM UTC-4 [email protected] wrote: > I'm seeing that *Gen.pw* which is my string generator, won't work for > you. I've tested it in my dev setup and it works: > > > > > *a = Gen.pwputs a # ==> Moveslgmputs a # ==> Moveslgmputs a # ==> Moveslgm* > > In the case that *a.pw <http://a.pw>* is assigned *pwtemp*, *pwtemp* > behaves like a reference so it gets evaluated on every `*puts a.pw > <http://a.pw>*`. I want this property semi-immutable, if that is such a > term. > > Any chance you know how I can fix this, once it's inserted into the object? > > -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/4c211dd7-392d-4abe-8bef-40b55fb6cb04n%40googlegroups.com.
