havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.2.1, 3.1.3, 3.0.5, 2.7.7: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://t.ly/9ua4 | Logs: https://libera.irclog.whitequark.org/ruby/
<ox1eef_> I love ERB but usually not for HTML documents.
textor9 has joined #ruby
<adam12> ox1eef_: agreed
irrepr74 has quit [Ping timeout: 248 seconds]
irrepr74 has joined #ruby
textor9 has quit [Ping timeout: 248 seconds]
hansolo has joined #ruby
hansolo has quit [Ping timeout: 248 seconds]
hansolo has joined #ruby
ap4y has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
ap4y has quit [Remote host closed the connection]
hansolo has quit [Read error: Connection reset by peer]
reset has quit [Quit: reset]
hansolo has joined #ruby
bhaak has quit [Ping timeout: 248 seconds]
_whitelogger has joined #ruby
Guest64 has joined #ruby
Guest64 has left #ruby [#ruby]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
bhaak has joined #ruby
irrepr74 has quit [Ping timeout: 265 seconds]
razetime has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
defectiverobot has joined #ruby
MalusVulgaris has joined #ruby
razetime has quit [Ping timeout: 265 seconds]
razetime has joined #ruby
Al2O3 has quit [Ping timeout: 240 seconds]
jhass has quit [Ping timeout: 265 seconds]
dmn has quit [Ping timeout: 260 seconds]
jhass has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
Al2O3 has joined #ruby
defectiverobot has quit [Remote host closed the connection]
defectiverobot has joined #ruby
razetime has quit [Ping timeout: 265 seconds]
defectiverobot has quit [Remote host closed the connection]
razetime has joined #ruby
hansolo has quit [Ping timeout: 250 seconds]
razetime has quit [Remote host closed the connection]
mooff has quit [Remote host closed the connection]
pvb has joined #ruby
mooff has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
tumdum has quit [Remote host closed the connection]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
dviola has quit [Quit: WeeChat 3.7.1]
hansolo has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
dviola has joined #ruby
lagash has joined #ruby
teclator has joined #ruby
dviola has quit [Quit: WeeChat 3.8]
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 255 seconds]
Sankalp- is now known as Sankalp
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
tomtmym has joined #ruby
tomtmym has quit [Changing host]
tomtmym has joined #ruby
dviola has joined #ruby
dionysus69 has joined #ruby
_ht has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
quazimodo has quit [Ping timeout: 265 seconds]
otisolsen70 has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
ur5us has joined #ruby
lagash has joined #ruby
CharleyBates has quit [Read error: Connection reset by peer]
lagash- has joined #ruby
lagash has quit [Read error: Connection reset by peer]
lagash- has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
lagash has quit [Quit: ZNC - https://znc.in]
Lox has joined #ruby
<Lox> Hi all, I'm a bit confused by leading arguments with argument forwarding in Ruby 2.7.7: from everything I can find, support for leading arguments with argument forwarding (e.g. `def test(a, ...)`) was added in Ruby 3, but it seems like it's working in 2.7.7 as well? Was this backported somehow, or was this always present but not officially
<Lox> supported or documented?
<Lox> As POC, `def b(b, c) puts b; puts c; end; def a(a, ...) puts a; b(2, ...); end; a(1, 3)` prints `1 2 3` in Ruby 2.7.7
lagash has joined #ruby
<ox1eef_> That's 2.7. So I guess it was supported since then.
<ox1eef_> Ah wait. That's actually Ruby3. On 2.7 it does not work: https://carc.in/#/r/erz6
<Lox> Hmm I believe that's carc.in that's broken because that style (without leading arguments) was introduced in 2.7 and works in a regular shell here, feature #16253 in https://github.com/ruby/ruby/blob/ruby_2_7/NEWS#other-miscellaneous-changes-
Lox has quit [Quit: Connection closed]
Lox has joined #ruby
mdemo has left #ruby [The Lounge - https://thelounge.github.io]
<ox1eef_> I'm not sure that's the same thing: https://bugs.ruby-lang.org/issues/14799
<ox1eef_> It looks range-specific. But if it works, it works :)
gr33n7007h has quit [Ping timeout: 248 seconds]
gr33n7007h has joined #ruby
<ox1eef_> My bad! I got the feature number mixed up. Then indeed, 2.7 looks like when it was introduced.
<Lox> :D  Yeah, the argument forwarding was indeed, but I don't think 2.7.0 supported leading arguments though (`def a(b, ...)`)
<Lox> There's a comment from eregon here about wanting to support it in 2.7.2: https://blade.ruby-lang.org/ruby-core/98558
<Lox> Looks like it was backported! https://bugs.ruby-lang.org/issues/16378#note-20
<ox1eef_> Nice detective work!
lagash has quit [Quit: ZNC - https://znc.in]
<Lox> Yup, looks like it was in the commit list here between 2.7.2 and 2.7.3: https://github.com/ruby/ruby/compare/v2_7_2...v2_7_3 thanks ox1eef_! That satisfies my curiosity :D
<ox1eef_> No worries :)
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
CesarMarinhoRJ has joined #ruby
Lox has quit [Quit: Connection closed]
lagash has joined #ruby
overin7 has joined #ruby
overin7 has quit [Client Quit]
lagash has quit [Quit: ZNC - https://znc.in]
reset has joined #ruby
lagash has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
John_Ivan has joined #ruby
moldorcoder7 has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
shokohsc has quit [Read error: Connection reset by peer]
shokohsc has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
mexen has joined #ruby
ht_ has joined #ruby
_ht has quit [Ping timeout: 250 seconds]
ht_ is now known as _ht
ht_ has joined #ruby
_ht has quit [Ping timeout: 252 seconds]
ht_ is now known as _ht
lagash has quit [Quit: ZNC - https://znc.in]
gr33n7007h has quit [Ping timeout: 265 seconds]
lagash has joined #ruby
ht_ has joined #ruby
_ht has quit [Ping timeout: 255 seconds]
ht_ is now known as _ht
lagash has quit [Quit: ZNC - https://znc.in]
defectiverobot has joined #ruby
lagash has joined #ruby
Pixi has quit [Quit: Leaving]
CesarMarinhoRJ has quit [Quit: Client closed]
lagash has quit [Quit: ZNC - https://znc.in]
Pixi has joined #ruby
lagash has joined #ruby
gr33n7007h has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
TomyWork has joined #ruby
r3m has quit [Quit: WeeChat 4.0.0-dev]
r3m has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
bubbler has quit [Quit: WeeChat 3.8]
dionysus69 has joined #ruby
lagash has joined #ruby
Pixi has quit [Quit: Leaving]
Linux_Kerio has joined #ruby
shokohsc has quit [Ping timeout: 248 seconds]
MalusVulgaris has quit [Quit: MalusVulgaris]
tegume38 has joined #ruby
tegume38 has quit [Quit: Best CPUs can count to infinity twice without being bugged out by zero division errors or whatnot.]
TomyWork has quit [Quit: Leaving]
Pixi has joined #ruby
defectiverobot has quit [Ping timeout: 248 seconds]
shokohsc has joined #ruby
pvb has quit [Ping timeout: 265 seconds]
pvb has joined #ruby
clemens3 has quit [Quit: WeeChat 2.7]
cek has joined #ruby
c10l has quit [Quit: Ping timeout (120 seconds)]
c10l has joined #ruby
shokohsc5 has joined #ruby
shokohsc has quit [Ping timeout: 250 seconds]
shokohsc5 is now known as shokohsc
clemens3 has joined #ruby
pvb has quit [Ping timeout: 276 seconds]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
crankharder has joined #ruby
bambanxx has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
mexen has quit []
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
_ht has quit [Quit: _ht]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
ur5us has joined #ruby
eron has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
Linux_Kerio has quit [Ping timeout: 248 seconds]
crankharder has quit [Ping timeout: 265 seconds]
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
otisolsen70 has quit [Quit: Leaving]
bambanxx has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
graywolf has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
John_Ivan has quit [Quit: Phantom of the future.]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
lagash has joined #ruby
hansolo has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 248 seconds]
tomtmym has quit [Quit: Gone.]
hansolo has joined #ruby
lagash has quit [Quit: ZNC - https://znc.in]
dorian has joined #ruby
lagash has joined #ruby
ua__ has quit [Ping timeout: 276 seconds]
quazimodo has joined #ruby
ua__ has joined #ruby
shokohsc4 has joined #ruby
shokohsc has quit [Ping timeout: 265 seconds]
shokohsc4 is now known as shokohsc
lagash has quit [Quit: ZNC - https://znc.in]
stirl has joined #ruby
shokohsc6 has joined #ruby
shokohsc has quit [Ping timeout: 250 seconds]
shokohsc6 is now known as shokohsc
eron has quit [Quit: Client closed]
desnudopenguino1 has joined #ruby
smp_ has joined #ruby
smp has quit [Ping timeout: 255 seconds]
smp_ is now known as smp
desnudopenguino has quit [Ping timeout: 265 seconds]
desnudopenguino1 is now known as desnudopenguino