lunarkitty has quit [Quit: Connection closed for inactivity]
ur5us has quit [Ping timeout: 256 seconds]
<nakilon> where is ruby-lang issue on !.9's colon hash literal xyntax?
gcd_ is now known as gcd
lad has quit [Ping timeout: 256 seconds]
lad has joined #ruby
ur5us has joined #ruby
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Client Quit]
qunzhong_luxian has joined #ruby
qunzhong_luxian has quit [Ping timeout: 240 seconds]
lad has quit [Ping timeout: 240 seconds]
steinomead has quit [Ping timeout: 256 seconds]
justache has quit [Read error: Connection reset by peer]
justache has joined #ruby
erb has joined #ruby
erb has quit [Remote host closed the connection]
lunarkitty has joined #ruby
neshpion has quit [Quit: neshpion]
jla has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
willthechill has quit [Ping timeout: 250 seconds]
dvgorod has joined #ruby
gr33n7007h has quit [Ping timeout: 265 seconds]
gr33n7007h has joined #ruby
sam113101 has quit [Ping timeout: 256 seconds]
lucerne has joined #ruby
sam113101 has joined #ruby
greyrat has joined #ruby
lzap has joined #ruby
jla has quit [Ping timeout: 272 seconds]
gr33n7007h has quit [Quit: WeeChat 3.2]
lunarkitty has quit [Quit: Connection closed for inactivity]
teclator has joined #ruby
unyu has joined #ruby
jla has joined #ruby
angelov has joined #ruby
lunarkitty has joined #ruby
involans has joined #ruby
kwilczynski has quit []
drincruz_ has quit [Ping timeout: 258 seconds]
TomyWork has joined #ruby
jhass[m] has joined #ruby
ckrailo has joined #ruby
angelov has quit [Ping timeout: 246 seconds]
angelov has joined #ruby
Guest33 has joined #ruby
angelov has quit [Ping timeout: 246 seconds]
teclator has quit [Ping timeout: 258 seconds]
teclator has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
teclator has quit [Ping timeout: 244 seconds]
jla has quit [Ping timeout: 268 seconds]
teclator has joined #ruby
drincruz_ has joined #ruby
burak_ has joined #ruby
burak_ is now known as AndreYuhai
qunzhong_luxian has joined #ruby
Toledo has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
drincruz has joined #ruby
Guest33 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drincruz_ has quit [Ping timeout: 244 seconds]
AndreYuhai has quit [Ping timeout: 250 seconds]
AndreYuhai has joined #ruby
Guest33 has joined #ruby
cdolan has quit [Ping timeout: 256 seconds]
AndreYuhai has quit [Ping timeout: 252 seconds]
AndreYuhai has joined #ruby
AndreYuhai has quit [Quit: leaving]
involans has quit [Ping timeout: 268 seconds]
qunzhong_luxian has quit [Quit: Textual IRC Client: www.textualapp.com]
willthechill has joined #ruby
TomyWork has quit [Quit: Leaving]
drincruz_ has joined #ruby
reset has joined #ruby
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
drincruz has quit [Ping timeout: 272 seconds]
lad has joined #ruby
lad has quit [Remote host closed the connection]
yosafbridge has quit [Quit: Leaving]
yosafbridge has joined #ruby
dvgorod has quit [Ping timeout: 265 seconds]
dvgorod has joined #ruby
dvgorod has quit [Ping timeout: 252 seconds]
neshpion has joined #ruby
lad has joined #ruby
Guest33 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest33 has joined #ruby
lad has quit [Remote host closed the connection]
lad has joined #ruby
Ziyan has joined #ruby
lunarkitty has joined #ruby
yxhuvud has quit [Quit: No Ping reply in 180 seconds.]
yxhuvud has joined #ruby
pwnd_sfw has quit [Quit: Ping timeout (120 seconds)]
pwnd_sfw has joined #ruby
Ziyan has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Ziyan has joined #ruby
qunzhong_luxian has joined #ruby
chonkbit has joined #ruby
qunzhong_luxian has quit [Quit: Textual IRC Client: www.textualapp.com]
qunzhong_luxian has joined #ruby
Ziyan has quit [Ping timeout: 272 seconds]
easbarbosa has joined #ruby
riceandbeans has joined #ruby
<riceandbeans> If I want to open a dir, print the children, but also know if a child is a dir, is there a better way than begin Dir.open(child) rescue Errno::ENOENT end
<riceandbeans> Because Dir.children returns array of string
<riceandbeans> I guess I want to be like...
<riceandbeans> child.dir?
<weaksauce> Dir.exist?
<riceandbeans> Ok, that'll do
<riceandbeans> Thanks
<weaksauce> np
<ccooke> Dir.exist? is the most concise, simple thing. If you need to check more than just directories, File::Stat.new(file).directory? also works (as do things line file?, pipe?, etc)
<ccooke> But as weaksauce said, Dir.exist? is the best thing if you just care about directories
<riceandbeans> Yeah, in this case I was thinking too much at the end instead of the beginning
<riceandbeans> ie, I'm getting back array of string instead of something typed for a path
<riceandbeans> But really I could use Dir and feed it back the string
<ccooke> *nod*
<riceandbeans> And I've now backed myself into a corner where I should use recursion and don't want to
<riceandbeans> Intent was to dirwalk and get *.yml
<adam12> riceandbeans: What's your goal?
<adam12> riceandbeans: Can you get it through glob? Dir.glob("**/*/yml")
<adam12> rather, Dir.glob("**/*.yml")
<riceandbeans> I don't know how many levels there would be
<riceandbeans> It's arbitrary
<adam12> That glob shouldn't matter, no?
<riceandbeans> But, there are some paths wherein I need to reject too
<riceandbeans> Hmm
<riceandbeans> Wait a sec
<adam12> Gotta run. Good luck!
<riceandbeans> I could Dir.glob().reject!{}
<adam12> Sure. Rake::FileList is quite nice too, if it came down to it.
<riceandbeans> Need stdlib
<riceandbeans> :)
bastienleonard has joined #ruby
saba_sedigh has joined #ruby
<saba_sedigh> Hello I am on ubuntu 20.04 and apt-get installed 2.7.0 version of ruby. How could I update to latest version?
qunzhong_luxian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest33 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<weaksauce> saba_sedigh use something like ruby-install
<weaksauce> you almost never want to use the system ruby
drincruz_ has quit [Ping timeout: 272 seconds]
cdolan has joined #ruby
<jhass[m]> for ubuntu https://www.brightbox.com/docs/ruby/ubuntu/ is also fair
mrkz_c has quit [Quit: Connection closed for inactivity]
chonkbit has quit [Ping timeout: 244 seconds]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 265 seconds]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 244 seconds]
willthechill has quit [Ping timeout: 272 seconds]
easbarbosa has quit [Remote host closed the connection]
drincruz_ has joined #ruby
bastienleonard has quit [Quit: WeeChat 3.2]
lad has quit [Ping timeout: 250 seconds]