<newton>
the xn-- domain is technically the non-unicode version of the url you passed to parse
<michigan>
hmmm
TomyWork has quit [Remote host closed the connection]
xuochi has quit [Quit: leaving]
xuochi has joined #ruby
<aesthetikx>
hows it going michigan
bandithijo has quit [Ping timeout: 276 seconds]
<aesthetikx>
im a michigan myself
<michigan>
michigan, vermont here :) shitty little place
<aesthetikx>
haha what an unusual name
<michigan>
im actually from roy, new mexico. even shittier
<michigan>
yeah my parents named my siblings and i after u.s. states
<aesthetikx>
interesting
<aesthetikx>
carolina would be a good one
<michigan>
yup :)
drincruz_ has quit [Ping timeout: 255 seconds]
ule has quit [Changing host]
ule has joined #ruby
drincruz_ has joined #ruby
<adam12>
I wonder which one would be the worst. Rhode Island?
<aesthetikx>
US Virgin Islands
Guest579 has quit [Ping timeout: 258 seconds]
<adam12>
LOL
menace has joined #ruby
menace has quit [Changing host]
menace has joined #ruby
levifig has quit [Ping timeout: 250 seconds]
reset has quit [Quit: reset]
reset has joined #ruby
finsternis has joined #ruby
orbyt has joined #ruby
belak has joined #ruby
gr33n7007h has joined #ruby
<belak>
Is there a shortcut to alias something Klass.method to Klass.instance.method on a singleto so I don't need to explicitly refer to .instance?
jetchisel has quit [Ping timeout: 276 seconds]
jetchisel has joined #ruby
<rg>
maybe delegate.rb can help, from the stdlib.
ikke has quit [Ping timeout: 245 seconds]
ikke has joined #ruby
<adam12>
belak: Forwardable module (similar to what rg mentioned above). You'll need to use `class << self` or another mechanism to access the eigenclass tho.
<belak>
I ended up dropping the explicit Singleton, and just instantiating this class as a variable
<adam12>
belak: That'll do :) I'm actually not really sure of the practicality of the Singleton mixin.
<adam12>
(you can assign to a constant with the same result, afaik)
<adam12>
Maybe memory savings, since `instance` on the object actually creates the instance (vs a singleton where it's created once seen)
ikke has quit [Ping timeout: 255 seconds]
ikke has joined #ruby
ikke has quit [Ping timeout: 256 seconds]
darkxploit has joined #ruby
ikke has joined #ruby
lucf117 has joined #ruby
ckrailo has quit [Remote host closed the connection]
ikke has quit [Ping timeout: 255 seconds]
eyeris has joined #ruby
<eyeris>
In ruby3 how can I capture the current block in order to pass it down to another function? I used to be able to call other_func(&Proc.new) even if other_func was declared without parameters and called yield.
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 245 seconds]
<eyeris>
It looks like the proper approach is to abandon block_given?, declare all methods that previously used it with a &blk final param, and then use 'if blk' before calling it.
<adam12>
eyeris: Can you show code? And do you get any warnings on 2.7?
<eyeris>
For some reason I thought &blk params were required but experimentation proves otherwise :)
<rg>
that's nothing new :)
_ht has quit [Remote host closed the connection]
chris has joined #ruby
chris is now known as Guest532
pusewic|away is now known as pusewicz
pusewicz is now known as pusewic|away
pusewic|away is now known as pusewicz
jetchisel has quit [Ping timeout: 276 seconds]
eyeris has quit [Quit: leaving]
jetchisel has joined #ruby
pusewicz is now known as pusewic|away
jhass[m] has joined #ruby
ckrailo has joined #ruby
ikke has joined #ruby
ur5us has joined #ruby
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 246 seconds]
ur5us has joined #ruby
chonkbit has quit [Ping timeout: 255 seconds]
nirix has joined #ruby
CrazyEddy has quit [Remote host closed the connection]