jhass[m] changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.1.2, 3.0.4, 2.7.6: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
cahoots has joined #ruby
markong has joined #ruby
cahoots has quit [Ping timeout: 256 seconds]
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
EternalSunshine has quit [Quit: WeeChat 3.6]
markong has quit [Ping timeout: 248 seconds]
Sankalp has quit [Ping timeout: 268 seconds]
Sankalp has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
_root has quit [Ping timeout: 256 seconds]
mikecmpbll has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
libsys has quit [Remote host closed the connection]
libsys has joined #ruby
cahoots has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
cahoots has quit [Ping timeout: 248 seconds]
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #ruby
Ziyan has joined #ruby
leonthemisfit has quit [Remote host closed the connection]
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ssh07321 has joined #ruby
ssh0732 has quit [Ping timeout: 268 seconds]
ssh07321 is now known as ssh0732
nirvdrum has joined #ruby
Ziyan has joined #ruby
cahoots has joined #ruby
duds- has quit [Quit: Leaving.]
cahoots has quit [Ping timeout: 248 seconds]
duds- has joined #ruby
John_Ivan has quit [Ping timeout: 248 seconds]
r3m has quit [Quit: WeeChat 3.7-dev]
r3m has joined #ruby
ssh0732 has quit [Remote host closed the connection]
ssh0732 has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Ping timeout: 248 seconds]
szkl has quit []
szkl has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
cahoots has joined #ruby
mikecmpbll has joined #ruby
cahoots has quit [Ping timeout: 256 seconds]
curio has quit [Quit: Leaving]
hansolo has joined #ruby
polishdub has quit [Ping timeout: 248 seconds]
hansolo has quit [Remote host closed the connection]
hansolo has joined #ruby
hansolo has quit [Remote host closed the connection]
aeris has quit [Ping timeout: 268 seconds]
aeris has joined #ruby
hansolo has joined #ruby
Michaela has quit [Ping timeout: 268 seconds]
duds- has quit [Quit: Leaving.]
Michaela has joined #ruby
nmollerup has quit [Remote host closed the connection]
nmollerup has joined #ruby
mikecmpbll has quit [Ping timeout: 256 seconds]
hansolo has quit [Remote host closed the connection]
hansolo has joined #ruby
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
arg_ has joined #ruby
ralu19 has joined #ruby
teclator has joined #ruby
ralu1 has quit [Ping timeout: 252 seconds]
ralu19 is now known as ralu1
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
aeris has joined #ruby
Linux_Kerio has joined #ruby
Rounin has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 244 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
jpn has quit [Ping timeout: 252 seconds]
TomyWork has joined #ruby
jpn has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mikecmpbll has joined #ruby
Ziyan_ has quit [Ping timeout: 248 seconds]
_aeris_ has joined #ruby
mikecmpbll has quit [Ping timeout: 248 seconds]
Ziyan has joined #ruby
aeris has quit [Ping timeout: 268 seconds]
_aeris_ is now known as aeris
Ziyan has quit [Client Quit]
mikecmpbll has joined #ruby
supay has joined #ruby
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
duds- has joined #ruby
Ziyan has joined #ruby
_ht has joined #ruby
totoro has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
protektwar has quit [Ping timeout: 256 seconds]
totoro has joined #ruby
totoro has quit [Client Quit]
totoro has joined #ruby
totoro has joined #ruby
totoro has quit [Changing host]
aeris has quit [Quit: ZNC - http://znc.sourceforge.net]
totoro has quit [Remote host closed the connection]
aeris has joined #ruby
_root has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
totoro has joined #ruby
Ziyan_ has joined #ruby
Ziyan has quit [Ping timeout: 256 seconds]
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
moldorcoder7_ has quit [Ping timeout: 256 seconds]
Ziyan_ has quit [Ping timeout: 248 seconds]
Ziyan has joined #ruby
moldorcoder7 has joined #ruby
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #ruby
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
arg_ has quit [Quit: Connection closed for inactivity]
arg_ has joined #ruby
cahoots has joined #ruby
cek has joined #ruby
<cek> any idea on uninstalling a gem from site_ruby?
<cek> wondering how it got there in the first place. definitely my doing.
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
<comeoooon> cek: damn that sucks :/
* comeoooon never installs anything globally ever
<mikecmpbll> probably just delete it
<cek> yeah, went to $site_dir//specifications/default/ , removed it, all is fine now. somehow, version no longer show up anymore in the list
protektwar has quit [Ping timeout: 256 seconds]
Sankalp has quit [Ping timeout: 256 seconds]
nirvdrum has joined #ruby
markong has joined #ruby
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 256 seconds]
Sankalp has joined #ruby
arg_ has quit [Quit: Connection closed for inactivity]
Ziyan has quit [Ping timeout: 244 seconds]
Ziyan has joined #ruby
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
nirvdrum has quit [Read error: Connection reset by peer]
nirvdrum_ has joined #ruby
<hightower3> Hey with rb-inotify, if I'm listening for multiple events in the directory, once `event` arrives, how do I see which event it was? I am looking at the event object and don't see the field containing it
bit4bit has joined #ruby
<hightower3> ah it's in .flags
supay has quit [Quit: Connection closed for inactivity]
cek has quit [Quit: Connection closed for inactivity]
___nick___ has joined #ruby
protektwar has quit [Ping timeout: 248 seconds]
<hightower3> I've been out of ruby for a while. How to do a case/when statement which checks whether certain symbols are found within an array?
<hightower3> like case(array) when(&:include? :abc) ?
<adam12> hightower3: case/when accepts procs.
<adam12> hightower3: I didn't test this, but you could do when proc { _1.include?(:abc) }
<adam12> Rather, case/when supports anything which responds to ===. Which proc does.
Ziyan_ has joined #ruby
kalli has joined #ruby
duds- has quit [Quit: Leaving.]
Ziyan has quit [Ping timeout: 244 seconds]
duds- has joined #ruby
<hightower3> hm _1 is undefined, and &. or &: syntax is not accepted at compile time
<adam12> hightower3: Ah. Maybe your version of Ruby.
<hightower3> 2.5.5 doh
<adam12> You can do the same, just name the arg.
<adam12> proc { |ary| ary.include?(:abc) }
<hightower3> Works! thank you kindly
<adam12> hightower3: yw!
<hightower3> oh and what's the current way to do some globbing... like, if I'd like to run File.delete "glob*" ?
<hightower3> hm maybe Dir.glob('*patt*').each { |file| File.delete(file)} , well, OK
kalli has quit [Ping timeout: 252 seconds]
<adam12> hightower3: There's also FileUtils.rm _f I believe.
nirvdrum_ has quit [Quit: nirvdrum_]
polishdub has joined #ruby
<hightower3> indeed. but I realized I need to keep the dir, so went with individual deletes
John_Ivan has joined #ruby
<hightower3> Hm what is the way to create a temporary directory with random name? I see some mentions of mktmpdir, which seems to no longer exist
bit4bit has quit [Ping timeout: 248 seconds]
<hightower3> oh require 'tmpdir' and then Dir.mktmpdir
<adam12> Yeah.
nirvdrum has joined #ruby
protektwar has joined #ruby
protektwar has joined #ruby
protektwar has quit [Changing host]
libsys has quit [Ping timeout: 256 seconds]
libsys has joined #ruby
reset has quit [Read error: Connection reset by peer]
moldorcoder7 has quit [Ping timeout: 248 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
reset has joined #ruby
markong has quit [Ping timeout: 252 seconds]
Michaela has quit [Ping timeout: 268 seconds]
Michaela has joined #ruby
curio has joined #ruby
protektwar has quit [Ping timeout: 248 seconds]
moldorcoder7 has joined #ruby
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
mikecmpbll has quit [Ping timeout: 248 seconds]
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #ruby
arg_ has joined #ruby
protektwar has joined #ruby
protektwar has quit [Changing host]
protektwar has joined #ruby
cek has joined #ruby
bit4bit has joined #ruby
bit4bit has quit [Ping timeout: 252 seconds]
protektwar has quit [Ping timeout: 248 seconds]
victori has quit [Quit: ZNC 1.8.2 - https://znc.in]
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
victori has joined #ruby
<hightower3> Hey what's the state of that 'safe' level Ruby used to have? Has this been forgotten/removed by now or it still plays a role?
_ht has quit [Remote host closed the connection]
___nick___ has quit [Ping timeout: 268 seconds]
<leftylink> in https://www.ruby-lang.org/en/news/2020/12/25/ruby-3-0-0-released/, "The $SAFE feature was completely removed; now it is a normal global variable."
cahoots has quit [Ping timeout: 256 seconds]
<hightower3> ++, thanks
_whitelogger has joined #ruby
duds- has quit [Quit: Leaving.]
Ziyan_ has quit [Quit: Textual IRC Client: www.textualapp.com]
TomyWork has quit [Remote host closed the connection]
hightower4 has joined #ruby
hightower3 has quit [Ping timeout: 248 seconds]
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
touta has joined #ruby
Successus has joined #ruby
touta has quit [K-Lined]
markong has joined #ruby
cocalero has joined #ruby
cocalero_ has joined #ruby
mikecmpbll has joined #ruby
cocalero has quit [Ping timeout: 268 seconds]
cocalero_ is now known as cocalero
duds- has joined #ruby
mikecmpbll has quit [Ping timeout: 252 seconds]
duds- has quit [Quit: Leaving.]
Successus has quit []
cocalero has quit [Quit: Going offline, see ya! (www.adiirc.com)]
matoro has quit [Ping timeout: 240 seconds]
matoro has joined #ruby
Michaela has quit [Remote host closed the connection]
Michaela has joined #ruby
matoro has quit [Changing host]
matoro has joined #ruby
arg_ has quit [Quit: Connection closed for inactivity]
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #ruby
Sankalp has quit [Ping timeout: 248 seconds]
Sankalp has joined #ruby
Pixi has quit [Ping timeout: 252 seconds]
Pixi has joined #ruby