havenwood changed the topic of #ruby to: Ruby 3.3.6 (3.4.0-preview2) https://www.ruby-lang.org | Log https://libera.irclog.whitequark.org/ruby
<havenwood> v0n: You can just `super` or `super(...)` to pass everything along or `super()` to pass nothing or a combination of `super(*args, **kwargs, &block)` if you want to pick and choose.
Linux_Kerio has quit [Ping timeout: 252 seconds]
<v0n> havenwood: my question was more about the syntax for passing the variable arguments to super, but I guess from your answer that the syntax is super(*args)
<ih8u> johnjaye: depends on the conf
<ih8u> you get to learn some neat stuff from some neat people, and socialise with a lot of other neat people
<ih8u> the rest kind of depends on you
<johnjaye> ih8u: what are the big linux conferences? the ones based around specific distros?
Rounin has quit [Ping timeout: 260 seconds]
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
Vonter has joined #ruby
Vonter has quit [Client Quit]
Vonter has joined #ruby
Vonter has quit [Client Quit]
Vonter has joined #ruby
Vonter has quit [Client Quit]
Vonter has joined #ruby
<havenwood> johnjaye: SCALE is what I think of, or OSCON but that's not specifically Linux.
<havenwood> Lots of Linux distro folk at OSCON though.
<havenwood> Pretty big conf.
<havenwood> v0n: If you want to pass on all arguments, just `super` alone. If you're trying to _only_ pass regular arguments and ditch the kwargs and block, a `*` is fine.
<havenwood> But yeah, if `*args` is different that what the method was called with and what you want, it's totally fair game.
alip has quit [Ping timeout: 252 seconds]
* v0n didn't you super alone would pass the arguments
alip has joined #ruby
jhass has quit [Remote host closed the connection]
jhass has joined #ruby
<havenwood> v0n: Ruby's `super` has some little-known aspects. A `super` will pass both args and block, as long as it has no parens. Most folk aren't aware that `super()` _will_ explicitly _not_ pass arguments or kwargs but _will_ indeed pass a block. You need to `super(&nil)` to not pass a block along.
<havenwood> I think `&nil` is fairly obscure.
<havenwood> These days I'd prefer to `super(...)` to signify passing args, kwargs and block.
<havenwood> The ellipsis means "everything"
<havenwood> A `super(&nil)` on the other hand means "nothing"
<havenwood> But will likely confuse many readers
<havenwood> There are extremely rare cases where you might even `super(*, **, &nil)` to pass args, kwargs but no block.
cappy has quit [Quit: Leaving]
Furai has quit [Ping timeout: 248 seconds]
grenierm has joined #ruby
Furai has joined #ruby
grenierm has quit [Ping timeout: 256 seconds]
szkl has quit [Quit: Connection closed for inactivity]
hwpplayer1 has joined #ruby
<v0n> thank you
Sampersand has joined #ruby
Sampersand has quit [Client Quit]
hwpplayer1 has quit [Quit: bbl]
grenierm has joined #ruby
smp has quit [Ping timeout: 276 seconds]
kapil has quit [Ping timeout: 260 seconds]
kapil has joined #ruby
smp has joined #ruby
smp has quit [Ping timeout: 252 seconds]
hwpplayer1 has joined #ruby
mms has joined #ruby
smp has joined #ruby
smp has quit [Ping timeout: 252 seconds]
smp has joined #ruby
Sampersand has joined #ruby
Sampersand has quit [Quit: Client closed]
smp has quit [Ping timeout: 276 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
<isene> weaksauce: Comments to your messages above; I want rcurses to be system-wide as my other programs will rely on it - especially important for rtfm. Also since I'm aiming to have it included in Debian/Ubuntu. As for lsblk; ls is already shown in the left pane, and I thought disk usage would be a nice display. lsblk is very common, methinks. What OS are you on? What do you mean when you say "drop the
<isene> extensions from the gemspec and add the lib/rcurses.rb file to the file"? Making a more fleshed-out example is a good idea. Will think of something nice or cool.
smp has joined #ruby
grenierm has quit [Ping timeout: 256 seconds]
smp has quit [Ping timeout: 246 seconds]
graywolf has joined #ruby
smp has joined #ruby
mange has quit [Quit: Zzz...]
JulioPapel has joined #ruby
Linux_Kerio has joined #ruby
hwpplayer1 has quit [Quit: I gotta go now see you later take care]
JulioPapel has quit [Quit: JulioPapel]
infinityfye has joined #ruby
weaksauce has quit [Ping timeout: 246 seconds]
rvalue- has joined #ruby
rvalue has quit [Ping timeout: 252 seconds]
rvalue- is now known as rvalue
user71 has joined #ruby
sympt has quit [Quit: Ping timeout (120 seconds)]
sympt has joined #ruby
ftajhii has joined #ruby
livoreno has joined #ruby
weaksauce has joined #ruby
notzmv has joined #ruby
wisegopher has joined #ruby
wisegopher has left #ruby [#ruby]
ih8u has quit [Ping timeout: 252 seconds]
ih8u2 has joined #ruby
ih8u has joined #ruby
ih8u2 has quit [Ping timeout: 248 seconds]
wisegopher has joined #ruby
wisegopher has left #ruby [#ruby]
brokkoli_origin has quit [Ping timeout: 252 seconds]
brokkoli_origin has joined #ruby
JulioPapel has joined #ruby
livoreno has quit [Quit: Connection closed for inactivity]
Linux_Kerio has quit [Ping timeout: 252 seconds]
szkl has joined #ruby
xdminsy has quit [Ping timeout: 245 seconds]
xdminsy has joined #ruby
___nick___ has joined #ruby
Linux_Kerio has joined #ruby
Thanzex02 has quit [Ping timeout: 252 seconds]
hwpplayer1 has joined #ruby
___nick___ has quit [Ping timeout: 252 seconds]
___nick___ has joined #ruby
cappy has joined #ruby
eddof13 has joined #ruby
eddof13 has quit [Client Quit]
___nick___ has quit [Ping timeout: 252 seconds]
notzmv has quit [Ping timeout: 265 seconds]
___nick___ has joined #ruby
graywolf has quit [Quit: WeeChat 4.4.3]
<weaksauce> isene as it stands it's a brittle install for only a small subset of users
<weaksauce> sudo gem install would install it system wide the normal way
<weaksauce> adding the file to files of course
<weaksauce> i'm on a mac
<weaksauce> do ls or some other program that exists on 100% of the linux like computers out there would be my suggestion
cappy has quit [Quit: Leaving]
eddof13 has joined #ruby
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
___nick___ has quit [Client Quit]
___nick___ has joined #ruby
___nick___ has quit [Ping timeout: 276 seconds]
eddof13 has quit [Quit: eddof13]
notzmv has joined #ruby
hwpplayer1 has quit [Remote host closed the connection]
user71 has quit [Quit: Leaving]
Rounin has quit [Ping timeout: 265 seconds]
Rounin has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
mange has joined #ruby
nmollerup has quit [Quit: Leaving]
wgwz has quit [Quit: peace :wave:]
helveticamono has quit [Ping timeout: 255 seconds]
wgwz has joined #ruby
helveticamono has joined #ruby
Linux_Kerio has quit [Ping timeout: 255 seconds]
infinityfye has quit [Quit: Leaving]
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
mange has quit [Ping timeout: 265 seconds]