havenwood changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.3, 3.0.5, 2.7.7, 3.2.0-rc1: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ | Logs: https://libera.irclog.whitequark.org/ruby/
crax23 has joined #ruby
Y05hito__ has joined #ruby
cartdrige has quit [Ping timeout: 268 seconds]
Aminda has quit [Ping timeout: 255 seconds]
crax23 has quit [Ping timeout: 268 seconds]
Aminda has joined #ruby
c10l8 has joined #ruby
c10l has quit [Ping timeout: 252 seconds]
c10l8 is now known as c10l
cartdrige has joined #ruby
Y05hito__ has quit [Ping timeout: 272 seconds]
work has joined #ruby
<havenwood> madprops: See the gist above, but block arguments don't stomp on local variable with each.
<madprops> "[:touched].each" that's interesting
<madprops> guess that works wtih :
<havenwood> I could make a better gist. The Symbol is just demponstrative.
<havenwood> demon*
<madprops> the symbol is a demon
<madprops> but yeah i get it
<madprops> it's like not using 'let' on a for loop in js
<madprops> doesn't confine it to scope
<adam12> Does the symbol even serve any purpose pragmatically? or just make it read better? bizzare.
<ox1eef_> I don't think it has a purpose beyond explaining the logic of the code that follows.
<ox1eef_> It is unusual but I kind of like it.
<adam12> ox1eef_: I agree.
hightower3 has quit [Quit: Leaving]
hightower2 has joined #ruby
<ox1eef_> The rubocop defaults would (probably) have a nervous breakdown given such code though.
shiru has joined #ruby
<adam12> lol.
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
caedmon has joined #ruby
caedmon has quit [Client Quit]
crax23 has joined #ruby
caedmon has joined #ruby
cartdrige has quit [Ping timeout: 272 seconds]
caedmon has quit [Quit: caedmon]
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 272 seconds]
wra1th has joined #ruby
jhass has quit [Ping timeout: 252 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
cartdrige has joined #ruby
jhass has joined #ruby
Y05hito__ has quit [Ping timeout: 260 seconds]
wra1th has quit [Quit: wra1th]
hansolo has quit [Remote host closed the connection]
wra1th has joined #ruby
moldorcoder7 has quit [Ping timeout: 255 seconds]
work has quit [Quit: Connection closed for inactivity]
hansolo has joined #ruby
stirl has joined #ruby
work has joined #ruby
stirl has quit [Remote host closed the connection]
willfish has joined #ruby
willfish has quit [Ping timeout: 260 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 268 seconds]
wra1th has quit [Quit: wra1th]
Rounin has quit [Ping timeout: 272 seconds]
<ox1eef_> madprops: yeah, it is *kind of* like 'var' versus 'let', or 'const'. In Ruby though, 'for' does not have a block, so not quite the same. You will find if behaves the same, eg: if true; bar = 1; end; p bar # => 1.
<madprops> yeah
<madprops> i like that
<madprops> scrict scoping can be annoying to deal with
<madprops> strict
<ox1eef_> I'm not sure a huge fan of that, I'd like if to have its own scope but I've never saw it be an issue in practice either.
work has quit [Quit: Connection closed for inactivity]
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has joined #ruby
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
<leftylink> pandabot: what's ruby precedence
<pandabot> Don't know rubyprecedence
<leftylink> you are kidding me
<leftylink> pandabot: learn rubyprecedence https://ruby-doc.org/core-3.1.0/doc/syntax/precedence_rdoc.html
<pandabot> Learned new fact rubyprecedence; 452 facts total
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
work has joined #ruby
shiru has quit [Quit: leaving]
jhawthorn_ has joined #ruby
jhawthorn has quit [Ping timeout: 272 seconds]
_ht has joined #ruby
ox1eef_ has quit [Read error: Connection reset by peer]
otisolsen70 has quit [Quit: Leaving]
willfish has joined #ruby
c10l has quit [Quit: See ya! o/]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
hrberg has joined #ruby
moldorcoder7 has joined #ruby
c10l has joined #ruby
c10l has quit [Quit: See ya! o/]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
work has quit [Quit: Connection closed for inactivity]
ox1eef_ has joined #ruby
c10l has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
c10l has quit [Quit: See ya! o/]
c10l has joined #ruby
caedmon has joined #ruby
Aminda has quit [Ping timeout: 255 seconds]
Aminda has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
caedmon has joined #ruby
caedmon has quit [Ping timeout: 252 seconds]
caedmon has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
caedmon has quit [Client Quit]
caedmon has joined #ruby
caedmon has quit [Ping timeout: 260 seconds]
Laplace has joined #ruby
<Laplace> Hey folks can a child class of a parent "include" a module to wrap the parent's methods?
<Laplace> Ah -- It is!
caedmon has joined #ruby
RougeR has joined #ruby
caedmon has quit [Ping timeout: 272 seconds]
Petruchio has joined #ruby
teclator has joined #ruby
Pixi has joined #ruby
Pixi__ has quit [Ping timeout: 252 seconds]
Linux_Kerio has joined #ruby
caedmon has joined #ruby
caedmon has quit [Remote host closed the connection]
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
caedmon has joined #ruby
crax23 has joined #ruby
Y05hito__ has quit [Ping timeout: 272 seconds]
Y05hito__ has joined #ruby
caedmon has quit [Quit: caedmon]
caedmon has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
cartdrige has joined #ruby
Y05hito__ has quit [Ping timeout: 268 seconds]
caedmon has quit [Ping timeout: 256 seconds]
caedmon has joined #ruby
crax23 has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.7.1]
cartdrige has quit [Ping timeout: 252 seconds]
caedmon has quit [Ping timeout: 252 seconds]
willfish has quit [Ping timeout: 260 seconds]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
caedmon has joined #ruby
tumdum has quit [Ping timeout: 252 seconds]
caedmon has quit [Ping timeout: 272 seconds]
perrierjouet has joined #ruby
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
RougeR has quit [Ping timeout: 256 seconds]
weaksauce has joined #ruby
tumdum has joined #ruby
RougeR has joined #ruby
_ht has quit [Quit: _ht]
gfawcett has joined #ruby
gfawcett has quit [Ping timeout: 268 seconds]
budo has joined #ruby
budo has quit [Remote host closed the connection]
budo has joined #ruby
budo has quit [Remote host closed the connection]
budo has joined #ruby
yossarian is now known as yossarian-bot
yossarian-bot is now known as yossarian
Laplace has quit [Quit: Connection closed for inactivity]
budo has quit [Quit: Leaving]
perrierjouet has quit [Quit: WeeChat 3.7.1]
perrierjouet has joined #ruby
Sankalp- has joined #ruby
Sankalp has quit [Ping timeout: 272 seconds]
Sankalp- is now known as Sankalp
perrierjouet has quit [Quit: WeeChat 3.7.1]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
FullMetalStacker has joined #ruby
FullMetalStacker has quit [Client Quit]
perrierjouet has joined #ruby
Linux_Kerio has quit [Ping timeout: 260 seconds]
hightower3 has joined #ruby
hightower2 has quit [Ping timeout: 252 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
cryptkeeper has quit [Quit: Connection closed for inactivity]