A *non-Sequel* class definition has the proper static assignment of *a.pw*, so this is a difference of *Sequel* vs *non-Sequel* class definition, as I see it.
*### Record generation############################################################# 1#<PWtest:0x000000010ecdda98 @uname="kai951">1 a.pw:z+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$h2 a.pw:3 a.pw: z+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$h############################################################# 2#<PWtest:0x000000010ecdda98 @uname="kai951", @pw="z+cjxk4(4h$/cy3nt)!\\xn!nr\\d]e:$h">z+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$hz+cjxk4(4h$/cy3nt)!\xn!nr\d]e:$h* On Tuesday, September 26, 2023 at 9:40:11 AM UTC-4 bee...@gmail.com wrote: > Even with a fixed String for *a.pw <http://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 bee...@gmail.com 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 sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/0548a7bd-188f-40c4-b5af-82a256e18223n%40googlegroups.com.