00:04
cappy has quit [Quit: Leaving]
00:41
cappy has joined #ruby
00:54
jess has quit [Quit: Lost terminal]
01:04
jess has joined #ruby
01:48
rvalue- has joined #ruby
01:48
rvalue has quit [Ping timeout: 252 seconds]
01:52
rvalue- is now known as rvalue
02:10
konsolebox has joined #ruby
02:40
cappy has quit [Quit: Leaving]
03:09
donofrio has joined #ruby
03:21
donofrio has quit [Ping timeout: 265 seconds]
03:31
brokkoli_origin has quit [Ping timeout: 252 seconds]
03:31
brokkoli_origin has joined #ruby
03:44
konsolebox has quit [Ping timeout: 276 seconds]
03:48
polishdub has quit [Ping timeout: 252 seconds]
03:50
polishdub has joined #ruby
04:10
donofrio has joined #ruby
04:29
kevwil has joined #ruby
04:30
konsolebox has joined #ruby
04:37
kevwil has quit [Quit: WeeChat 4.4.3]
05:09
konsolebox has quit [Ping timeout: 276 seconds]
05:24
gr33n7007h has quit [*.net *.split]
05:24
Vonter has quit [*.net *.split]
05:24
jvalleroy has quit [*.net *.split]
05:24
patrick_ has quit [*.net *.split]
05:24
r3m has quit [*.net *.split]
05:24
smp has quit [*.net *.split]
05:24
johnhamelink has quit [*.net *.split]
05:24
mweckbecker has quit [*.net *.split]
05:24
Exa has quit [*.net *.split]
05:24
axsuul has quit [*.net *.split]
05:24
graaff has quit [*.net *.split]
05:24
gigamo has quit [*.net *.split]
05:24
cuppajoeman has quit [*.net *.split]
05:24
Manouchehri has quit [*.net *.split]
05:24
mretka has quit [*.net *.split]
05:24
pjaspers has quit [*.net *.split]
05:24
ringo_ has quit [*.net *.split]
05:24
jmjl has quit [*.net *.split]
05:24
goofansu has quit [*.net *.split]
05:24
Spitfire_ has quit [*.net *.split]
05:24
FetidToot has quit [*.net *.split]
05:24
mahlon has quit [*.net *.split]
05:24
aindilis has quit [*.net *.split]
05:24
caleb has quit [*.net *.split]
05:24
foxxx0 has quit [*.net *.split]
05:24
mjones has quit [*.net *.split]
05:24
Argorok has quit [*.net *.split]
05:24
olspookishmagus has quit [*.net *.split]
05:24
coffeejunk has quit [*.net *.split]
05:24
mjacob has quit [*.net *.split]
05:24
georgemp has quit [*.net *.split]
05:24
polishdub has quit [*.net *.split]
05:24
constxd has quit [*.net *.split]
05:24
Fridtjof has quit [*.net *.split]
05:24
waesum has quit [*.net *.split]
05:24
victori has quit [*.net *.split]
05:24
finsternis has quit [*.net *.split]
05:24
noahmg123 has quit [*.net *.split]
05:24
havenwood5 has quit [*.net *.split]
05:24
adam12 has quit [*.net *.split]
05:24
trillion_exabyte has quit [*.net *.split]
05:24
weaksauce has quit [*.net *.split]
05:24
ih8u has quit [*.net *.split]
05:24
desnudopenguino has quit [*.net *.split]
05:24
sarna has quit [*.net *.split]
05:24
mattf has quit [*.net *.split]
05:24
brw has quit [*.net *.split]
05:24
o0x1eef has quit [*.net *.split]
05:24
dza has quit [*.net *.split]
05:24
lunarkitty has quit [*.net *.split]
05:24
tostr has quit [*.net *.split]
05:24
fourstepper has quit [*.net *.split]
05:24
Pixi has quit [*.net *.split]
05:24
phryk has quit [*.net *.split]
05:24
aesthetikx has quit [*.net *.split]
05:24
pavelz has quit [*.net *.split]
05:24
donofrio has quit [*.net *.split]
05:24
Starfoxxes has quit [*.net *.split]
05:24
crespire has quit [*.net *.split]
05:24
magni has quit [*.net *.split]
05:24
deadmarshal_ has quit [*.net *.split]
05:24
pages has quit [*.net *.split]
05:24
dostoyevsky2 has quit [*.net *.split]
05:24
jhass has quit [*.net *.split]
05:24
hightower2 has quit [*.net *.split]
05:24
johnjaye has quit [*.net *.split]
05:24
alexisg has quit [*.net *.split]
05:24
eax_ has quit [*.net *.split]
05:24
hwrd has quit [*.net *.split]
05:24
Bounga has quit [*.net *.split]
05:24
koenraad has quit [*.net *.split]
05:24
whereiseveryone has quit [*.net *.split]
05:24
srushe has quit [*.net *.split]
05:24
snonux has quit [*.net *.split]
05:24
phenom has quit [*.net *.split]
05:24
Milos has quit [*.net *.split]
05:24
rhe has quit [*.net *.split]
05:24
mbug_ has quit [*.net *.split]
05:24
manveru has quit [*.net *.split]
05:24
jbg has quit [*.net *.split]
05:24
tumdum has quit [*.net *.split]
05:24
Fusl has quit [*.net *.split]
05:24
meimei has quit [*.net *.split]
05:24
centurion has quit [*.net *.split]
05:24
pounce has quit [*.net *.split]
05:24
nirvdrum has quit [*.net *.split]
05:24
yosafbridge has quit [*.net *.split]
05:24
entropie has quit [*.net *.split]
05:24
sandra has quit [*.net *.split]
05:24
heinrich5991_ has quit [*.net *.split]
05:24
newton has quit [*.net *.split]
05:24
Furai has quit [*.net *.split]
05:24
ollysmith has quit [*.net *.split]
05:24
meinside has quit [*.net *.split]
05:24
whysthatso125070 has quit [*.net *.split]
05:24
Hobbyboy has quit [*.net *.split]
05:24
gemmaro_ has quit [*.net *.split]
05:24
sam113101 has quit [*.net *.split]
05:24
zayd has quit [*.net *.split]
05:24
enyc has quit [*.net *.split]
05:24
jposer has quit [*.net *.split]
05:24
mooff has quit [*.net *.split]
05:24
cleo has quit [*.net *.split]
05:24
cnsvc has quit [*.net *.split]
05:24
weyhmueller has quit [*.net *.split]
05:24
benjaminwil has quit [*.net *.split]
05:24
integral has quit [*.net *.split]
05:24
Caius has quit [*.net *.split]
05:24
ruby[bot] has quit [*.net *.split]
05:24
Munto has quit [*.net *.split]
05:24
wryishly has quit [*.net *.split]
05:24
bougyman has quit [*.net *.split]
05:24
Thanzex0 has quit [*.net *.split]
05:24
kenyon has quit [*.net *.split]
05:24
ghostbusters2 has quit [*.net *.split]
05:24
wnd has quit [*.net *.split]
05:24
wmoxam has quit [*.net *.split]
05:24
OverCoder has quit [*.net *.split]
05:24
ross has quit [*.net *.split]
05:24
leftylink has quit [*.net *.split]
05:24
brokkoli_origin has quit [*.net *.split]
05:24
balrog has quit [*.net *.split]
05:24
c10l has quit [*.net *.split]
05:24
eoli3n has quit [*.net *.split]
05:24
chen has quit [*.net *.split]
05:24
RetroPunk has quit [*.net *.split]
05:24
tardybaker has quit [*.net *.split]
05:24
petru has quit [*.net *.split]
05:24
alip has quit [*.net *.split]
05:24
moo has quit [*.net *.split]
05:24
gvg has quit [*.net *.split]
05:24
houtworm has quit [*.net *.split]
05:24
leah2 has quit [*.net *.split]
05:24
patrick has quit [*.net *.split]
05:24
Cork has quit [*.net *.split]
05:24
ua_ has quit [*.net *.split]
05:24
szkl has quit [*.net *.split]
05:24
Rounin has quit [*.net *.split]
05:24
rdsm has quit [*.net *.split]
05:24
Doc_X has quit [*.net *.split]
05:24
tsv has quit [*.net *.split]
05:24
kjetilho has quit [*.net *.split]
05:24
CalimeroTeknik has quit [*.net *.split]
05:24
tweaks has quit [*.net *.split]
05:24
fcser has quit [*.net *.split]
05:24
sts has quit [*.net *.split]
05:24
kapil_ has quit [*.net *.split]
05:24
isene has quit [*.net *.split]
05:24
twopoint718 has quit [*.net *.split]
05:24
rvalue has quit [*.net *.split]
05:24
Perflosopher has quit [*.net *.split]
05:24
balo has quit [*.net *.split]
05:24
AkyRhO has quit [*.net *.split]
05:24
helveticamono has quit [*.net *.split]
05:24
vvn has quit [*.net *.split]
05:24
jmcgnh has quit [*.net *.split]
05:24
HER has quit [*.net *.split]
05:24
bhaak has quit [*.net *.split]
05:24
kinduff has quit [*.net *.split]
05:24
Jordan has quit [*.net *.split]
05:24
rhrf has quit [*.net *.split]
05:24
oz has quit [*.net *.split]
05:24
Arsen has quit [*.net *.split]
05:24
miah has quit [*.net *.split]
05:24
ule has quit [*.net *.split]
05:24
wgwz has quit [*.net *.split]
05:24
itaipu has quit [*.net *.split]
05:24
braxas has quit [*.net *.split]
05:24
qsx has quit [*.net *.split]
05:24
infernix has quit [*.net *.split]
05:24
chromis has quit [*.net *.split]
05:24
Liothen has quit [*.net *.split]
05:24
vls has quit [*.net *.split]
05:24
acosta has quit [*.net *.split]
05:24
splud has quit [*.net *.split]
05:24
intelligent_boat has quit [*.net *.split]
05:24
nikkys has quit [*.net *.split]
05:24
scottg489 has quit [*.net *.split]
05:24
ccooke has quit [*.net *.split]
05:24
kyber has quit [*.net *.split]
05:24
Byteflux has quit [*.net *.split]
05:24
Momentum has quit [*.net *.split]
05:24
iiska2 has quit [*.net *.split]
05:24
KOTP has quit [*.net *.split]
05:24
miguno has quit [*.net *.split]
05:24
BSaboia has quit [*.net *.split]
05:24
Awoobis has quit [*.net *.split]
05:24
deriamis has quit [*.net *.split]
05:24
itok has quit [*.net *.split]
05:24
dorian has quit [*.net *.split]
05:24
pandabot has quit [*.net *.split]
05:24
marahin has quit [*.net *.split]
05:24
dminuoso has quit [*.net *.split]
05:24
r0bby has quit [*.net *.split]
05:24
JonR has quit [*.net *.split]
05:24
jtperreault has quit [*.net *.split]
05:24
nirix has quit [*.net *.split]
05:24
niv has quit [*.net *.split]
05:24
toonlink has quit [*.net *.split]
05:24
tsujp has quit [*.net *.split]
05:24
g_sg has quit [*.net *.split]
05:24
matta has quit [*.net *.split]
05:24
jmcantrell has quit [*.net *.split]
05:24
slondr has quit [*.net *.split]
05:24
graemefawcett has quit [*.net *.split]
05:24
joako has quit [*.net *.split]
05:24
dannyAAM has quit [*.net *.split]
05:24
rubin55 has quit [*.net *.split]
05:24
vnpower has quit [*.net *.split]
05:24
matoro has quit [*.net *.split]
05:24
llua has quit [*.net *.split]
05:24
SaveFerris has quit [*.net *.split]
05:24
JSharp has quit [*.net *.split]
05:24
asio has quit [*.net *.split]
05:24
jetchisel has quit [*.net *.split]
05:28
Thanzex0 has joined #ruby
05:28
jbg has joined #ruby
05:28
cleo has joined #ruby
05:28
rhrf has joined #ruby
05:28
Manouchehri has joined #ruby
05:28
finsternis has joined #ruby
05:28
cuppajoeman has joined #ruby
05:28
gigamo has joined #ruby
05:28
graaff has joined #ruby
05:28
Exa has joined #ruby
05:28
axsuul has joined #ruby
05:28
mweckbecker has joined #ruby
05:28
johnhamelink has joined #ruby
05:28
smp has joined #ruby
05:28
gr33n7007h has joined #ruby
05:28
Vonter has joined #ruby
05:28
trillion_exabyte has joined #ruby
05:28
coffeejunk has joined #ruby
05:28
noahmg123 has joined #ruby
05:28
georgemp has joined #ruby
05:28
mjacob has joined #ruby
05:28
olspookishmagus has joined #ruby
05:28
foxxx0 has joined #ruby
05:28
mjones has joined #ruby
05:28
caleb has joined #ruby
05:28
Argorok has joined #ruby
05:28
aindilis has joined #ruby
05:28
mahlon has joined #ruby
05:28
FetidToot has joined #ruby
05:28
Spitfire_ has joined #ruby
05:28
joto has joined #ruby
05:28
ringo_ has joined #ruby
05:28
goofansu has joined #ruby
05:28
pjaspers has joined #ruby
05:28
mretka has joined #ruby
05:28
nirix has joined #ruby
05:28
jtperreault has joined #ruby
05:28
ccooke has joined #ruby
05:28
scottg489 has joined #ruby
05:28
wgwz has joined #ruby
05:28
r0bby has joined #ruby
05:28
ule has joined #ruby
05:28
miah has joined #ruby
05:28
Arsen has joined #ruby
05:28
Jordan has joined #ruby
05:28
nikkys has joined #ruby
05:28
twopoint718 has joined #ruby
05:28
isene has joined #ruby
05:28
alip has joined #ruby
05:28
moo has joined #ruby
05:28
intelligent_boat has joined #ruby
05:28
oz has joined #ruby
05:28
jetchisel has joined #ruby
05:28
kapil_ has joined #ruby
05:28
sts has joined #ruby
05:28
leftylink has joined #ruby
05:28
ross has joined #ruby
05:28
wnd has joined #ruby
05:28
wmoxam has joined #ruby
05:28
OverCoder has joined #ruby
05:28
splud has joined #ruby
05:28
marahin has joined #ruby
05:28
kjetilho has joined #ruby
05:28
dorian has joined #ruby
05:28
pandabot has joined #ruby
05:28
itok has joined #ruby
05:28
petru has joined #ruby
05:28
fcser has joined #ruby
05:28
chromis has joined #ruby
05:28
CalimeroTeknik has joined #ruby
05:28
asio has joined #ruby
05:28
ghostbusters2 has joined #ruby
05:28
JonR has joined #ruby
05:28
integral has joined #ruby
05:28
kinduff has joined #ruby
05:28
tardybaker has joined #ruby
05:28
Caius has joined #ruby
05:28
deriamis has joined #ruby
05:28
weyhmueller has joined #ruby
05:28
benjaminwil has joined #ruby
05:28
newton has joined #ruby
05:28
cnsvc has joined #ruby
05:28
bhaak has joined #ruby
05:28
tsv has joined #ruby
05:28
itaipu has joined #ruby
05:28
dminuoso has joined #ruby
05:28
weaksauce has joined #ruby
05:28
bougyman has joined #ruby
05:28
rdsm has joined #ruby
05:28
sam113101 has joined #ruby
05:28
zayd has joined #ruby
05:28
braxas has joined #ruby
05:28
JSharp has joined #ruby
05:28
enyc has joined #ruby
05:28
pavelz has joined #ruby
05:28
jposer has joined #ruby
05:28
infernix has joined #ruby
05:28
heinrich5991_ has joined #ruby
05:28
qsx has joined #ruby
05:28
kenyon has joined #ruby
05:28
manveru has joined #ruby
05:28
Fusl has joined #ruby
05:28
SaveFerris has joined #ruby
05:28
llua has joined #ruby
05:28
sandra has joined #ruby
05:28
HER has joined #ruby
05:28
jmcgnh has joined #ruby
05:28
tumdum has joined #ruby
05:28
aesthetikx has joined #ruby
05:28
Awoobis has joined #ruby
05:28
Doc_X has joined #ruby
05:28
matoro has joined #ruby
05:28
entropie has joined #ruby
05:28
phryk has joined #ruby
05:28
vnpower has joined #ruby
05:28
gemmaro_ has joined #ruby
05:28
Hobbyboy has joined #ruby
05:28
mbug_ has joined #ruby
05:28
BSaboia has joined #ruby
05:28
helveticamono has joined #ruby
05:28
rhe has joined #ruby
05:28
r3m has joined #ruby
05:28
jvalleroy has joined #ruby
05:28
078AAO3AY has joined #ruby
05:28
jmjl has joined #ruby
05:28
acosta has joined #ruby
05:28
vls has joined #ruby
05:28
tweaks has joined #ruby
05:28
Liothen has joined #ruby
05:28
mooff has joined #ruby
05:28
alexisg has joined #ruby
05:28
balo has joined #ruby
05:28
whereiseveryone has joined #ruby
05:28
toonlink has joined #ruby
05:28
whysthatso125070 has joined #ruby
05:28
rubin55 has joined #ruby
05:28
meinside has joined #ruby
05:28
dannyAAM has joined #ruby
05:28
adam12 has joined #ruby
05:28
Pixi has joined #ruby
05:28
yosafbridge has joined #ruby
05:28
AkyRhO has joined #ruby
05:28
joako has joined #ruby
05:28
ollysmith has joined #ruby
05:28
Milos has joined #ruby
05:28
nirvdrum has joined #ruby
05:28
phenom has joined #ruby
05:28
snonux has joined #ruby
05:28
koenraad has joined #ruby
05:28
eax_ has joined #ruby
05:28
g_sg has joined #ruby
05:28
fourstepper has joined #ruby
05:28
KOTP has joined #ruby
05:28
matta has joined #ruby
05:28
jmcantrell has joined #ruby
05:28
slondr has joined #ruby
05:28
tostr has joined #ruby
05:28
tsujp has joined #ruby
05:28
iiska2 has joined #ruby
05:28
Momentum has joined #ruby
05:28
Byteflux has joined #ruby
05:28
pounce has joined #ruby
05:28
wryishly has joined #ruby
05:28
Rounin has joined #ruby
05:28
kyber has joined #ruby
05:28
RetroPunk has joined #ruby
05:28
meimei has joined #ruby
05:28
centurion has joined #ruby
05:28
dza has joined #ruby
05:28
o0x1eef has joined #ruby
05:28
johnjaye has joined #ruby
05:28
brw has joined #ruby
05:28
Furai has joined #ruby
05:28
mattf has joined #ruby
05:28
chen has joined #ruby
05:28
eoli3n has joined #ruby
05:28
havenwood5 has joined #ruby
05:28
sarna has joined #ruby
05:28
Perflosopher has joined #ruby
05:28
Munto has joined #ruby
05:28
hightower2 has joined #ruby
05:28
szkl has joined #ruby
05:28
ua_ has joined #ruby
05:28
victori has joined #ruby
05:28
waesum has joined #ruby
05:28
jhass has joined #ruby
05:28
dostoyevsky2 has joined #ruby
05:28
vvn has joined #ruby
05:28
Cork has joined #ruby
05:28
Fridtjof has joined #ruby
05:28
pages has joined #ruby
05:28
patrick has joined #ruby
05:28
leah2 has joined #ruby
05:28
constxd has joined #ruby
05:28
deadmarshal_ has joined #ruby
05:28
houtworm has joined #ruby
05:28
magni has joined #ruby
05:28
crespire has joined #ruby
05:28
niv has joined #ruby
05:28
lunarkitty has joined #ruby
05:28
c10l has joined #ruby
05:28
ih8u has joined #ruby
05:28
miguno has joined #ruby
05:28
Starfoxxes has joined #ruby
05:28
balrog has joined #ruby
05:28
gvg has joined #ruby
05:28
desnudopenguino has joined #ruby
05:28
rvalue has joined #ruby
05:28
brokkoli_origin has joined #ruby
05:28
ruby[bot] has joined #ruby
05:28
polishdub has joined #ruby
05:28
donofrio has joined #ruby
05:28
graemefawcett has joined #ruby
05:28
hwrd has joined #ruby
05:28
Bounga has joined #ruby
05:28
srushe has joined #ruby
05:30
Manouchehri has quit [Ping timeout: 272 seconds]
05:32
Manouchehri has joined #ruby
05:36
konsolebox has joined #ruby
06:17
donofrio has quit [Ping timeout: 265 seconds]
06:20
donofrio has joined #ruby
06:21
grenierm has joined #ruby
06:23
dhruvasagar has joined #ruby
06:28
hwpplayer1 has joined #ruby
06:40
hwpplayer1 has quit [Remote host closed the connection]
06:55
grenierm has quit [Quit: Client closed]
06:56
grenierm has joined #ruby
07:01
dhruvasagar has quit [Ping timeout: 245 seconds]
07:04
dhruvasagar has joined #ruby
07:07
grenierm has quit [Quit: Client closed]
07:09
dhruvasagar has quit [Remote host closed the connection]
07:09
dhruvasagar has joined #ruby
07:12
donofrio has quit [Ping timeout: 265 seconds]
07:13
grenierm has joined #ruby
07:26
dhruvasagar has quit [Ping timeout: 276 seconds]
07:26
dhruvasagar has joined #ruby
07:28
hiddenman has joined #ruby
07:54
dhruvasagar has quit [Ping timeout: 252 seconds]
07:56
dhruvasagar has joined #ruby
08:13
dhruvasagar has quit [Ping timeout: 265 seconds]
08:16
dhruvasagar has joined #ruby
08:32
dhruvasagar has quit [Ping timeout: 260 seconds]
08:34
Linux_Kerio has joined #ruby
08:34
dhruvasagar has joined #ruby
08:48
Versality has joined #ruby
09:15
dhruvasagar has quit [Ping timeout: 252 seconds]
09:18
dhruvasagar has joined #ruby
09:21
sphex has joined #ruby
09:27
rvalue has quit [Read error: Connection reset by peer]
09:28
rvalue has joined #ruby
09:33
dhruvasagar has quit [Ping timeout: 265 seconds]
09:44
dhruvasagar has joined #ruby
09:48
rvalue- has joined #ruby
09:48
rvalue has quit [Ping timeout: 272 seconds]
09:49
dhruvasagar has quit [Ping timeout: 252 seconds]
09:50
konsolebox has quit [Ping timeout: 248 seconds]
09:54
rvalue- is now known as rvalue
09:59
grenierm has quit [Ping timeout: 256 seconds]
10:01
dhruvasagar has joined #ruby
10:07
dhruvasagar has quit [Ping timeout: 260 seconds]
10:11
dviola has quit [Ping timeout: 252 seconds]
10:19
dhruvasagar has joined #ruby
10:25
dhruvasagar has quit [Ping timeout: 246 seconds]
10:30
dhruvasagar has joined #ruby
10:44
konsolebox has joined #ruby
10:58
Artea has joined #ruby
11:02
mange has quit [Remote host closed the connection]
11:29
Linux_Kerio has quit [Read error: Connection reset by peer]
11:29
Linux_Kerio has joined #ruby
11:33
desnudopenguino has quit [Ping timeout: 252 seconds]
11:46
Vonter has quit [Quit: WeeChat 4.4.2]
11:47
Vonter has joined #ruby
11:48
brw has joined #ruby
11:59
brw has joined #ruby
12:06
brw has joined #ruby
12:06
kiwi_36 has joined #ruby
12:17
dhruvasagar has quit [Ping timeout: 248 seconds]
12:17
dhruvasagar has joined #ruby
12:27
donofrio has joined #ruby
12:37
konsolebox has quit [Ping timeout: 244 seconds]
12:40
konsolebox has joined #ruby
13:04
dhruvasagar has quit [Ping timeout: 265 seconds]
13:05
dhruvasagar has joined #ruby
13:15
Versality has quit [Remote host closed the connection]
13:16
Versality has joined #ruby
13:23
dhruvasagar has quit [Ping timeout: 244 seconds]
13:30
kiwi_36 has quit [Remote host closed the connection]
13:33
Versality has quit [Remote host closed the connection]
13:34
dhruvasagar has joined #ruby
13:34
Versality has joined #ruby
13:37
dhruvasagar has quit [Read error: Connection reset by peer]
13:37
dhruvasagar has joined #ruby
14:25
Versality has quit [Remote host closed the connection]
14:34
dhruvasagar has quit [Ping timeout: 252 seconds]
14:36
dhruvasagar has joined #ruby
14:52
dhruvasagar has quit [Remote host closed the connection]
14:52
dhruvasagar has joined #ruby
14:59
donofrio has quit [Ping timeout: 252 seconds]
15:00
<
vvn >
is it not possible to yield on a new pathname like: Pathname.new('foo/bar') do |p| p.parent.mkpath; p.write('baz'); end?
15:01
konsolebox has quit [Ping timeout: 240 seconds]
15:03
<
vvn >
I don't really to hold a reference to the pathname, I just want to write a file in a target directory
15:04
<
constxd >
vvn: what the
**** are you talking about man ?
15:05
<
vvn >
I don't really need*
15:05
<
adam12 >
vvn: `.then` ?
15:05
<
constxd >
`p.parent.mkpath` ?
15:06
<
constxd >
that's going to
**** everything up
15:06
<
vvn >
constxd: what did I do for you to answer me like that?
15:06
<
constxd >
nothing bro it's one of my Apple iCloud keyboard shortcuts it expands to that message
15:06
<
constxd >
nothing personal
15:07
<
vvn >
I'm currently doing path = Pathname.new(dir) + file; path.parent.mkpath; path.write(content) and I was wondering if I could do that in a block to make the code simple
15:07
<
constxd >
why are you doing path.parent.mkpath
15:07
<
adam12 >
vvn: Pathname.new(dir).then { |path| path.parent.mkpath; path.write(content) }
15:08
<
vvn >
constxd: in order to mkdir foo/bar if you want to write foo/bar/baz
15:08
<
adam12 >
Or Object#tap would be fine too.
15:10
<
constxd >
if u create foo/bar as a file, how can u then expect to create foo/bar/baz?
15:10
<
vvn >
adam12: I'm getting back into Ruby, I didn't even know about #then. Seems like a nice inspiration from JS so that classes don't need to implement their own 'yielding'?
15:10
konsolebox has joined #ruby
15:10
<
adam12 >
vvn: Basically an interation on `yield_self` which everyone thought was poorly named. Goes back to mid-2.x Ruby.
15:11
<
vvn >
constxd: I don't know what you're talking about, please read again my messages, i'm not doing anything complicated
15:11
<
vvn >
adam12: that makes sense, I was on Ruby 1.6/1.8 :]
15:11
<
constxd >
it's not complicated bro it's just wrong
15:12
<
constxd >
Pathname.new(dir).then { |path| path.mkpath; path.write(content) }
15:13
<
vvn >
your snippet tries to write to a directory, please stop you make no sense
15:13
<
vvn >
adam12 gave me the answer I needed
15:13
<
constxd >
just copied adam12's snippet bro
15:13
<
constxd >
if mine tries to write to a directory then so does his
15:14
<
vvn >
you're right I didn't see their snippet (which is wrong), but anyway I must use #then
15:15
<
constxd >
but u are right mine makes no sense
15:15
<
constxd >
ruby's Pathname and FileUtils method names are deranged
15:16
* vvn
wishes there was an mkpath: true argument to Pathname#write :')
15:17
<
vvn >
(well parent path, anyway)
15:18
<
constxd >
there is a lot of cringe in that module
15:18
<
vvn >
not sure I want to look at how it is implemented, but it is nice to use
15:19
<
constxd >
instead of having 3 different names for makedirs, #mkpath should be like #touch but creates parent dirs as necessary
15:20
<
vvn >
yeah but you can't create a directory with touch(1) so unix folks would be confused (I would)
15:27
<
adam12 >
vvn: There's a `FileUtils.mkdir_p` maybe that's of interest.
15:27
<
vvn >
it's similar to #mkpath
15:31
<
constxd >
FileUtils.mkpath and FileUtils.makedirs are aliases for FileUtils.mkdir_p.
15:49
joako has quit [Quit: quit]
15:52
joako has joined #ruby
16:09
donofrio has joined #ruby
16:10
desnudopenguino has joined #ruby
16:35
diego has joined #ruby
16:36
diego is now known as Guest1858
17:09
Versality has joined #ruby
17:10
dhruvasagar has quit [Remote host closed the connection]
17:10
dhruvasagar has joined #ruby
17:23
Guest1858 has left #ruby [WeeChat 4.4.3]
17:24
dviola has joined #ruby
17:32
fercell has joined #ruby
17:43
cappy has joined #ruby
17:47
dhruvasagar has quit [Ping timeout: 255 seconds]
17:54
dhruvasagar has joined #ruby
17:59
dhruvasagar has quit [Ping timeout: 252 seconds]
18:07
dhruvasagar has joined #ruby
18:13
dhruvasagar has quit [Ping timeout: 276 seconds]
18:16
konsolebox has quit [Quit: .]
18:19
nirvdrum has quit [Quit: Ping timeout (120 seconds)]
18:20
nirvdrum has joined #ruby
18:24
dhruvasagar has joined #ruby
18:27
<
vvn >
do people use for-loop in ruby instead of #each?
18:40
pages has quit [Ping timeout: 265 seconds]
18:58
donofrio has quit [Ping timeout: 264 seconds]
19:02
kludger has joined #ruby
19:04
kludger_ has joined #ruby
19:05
hwpplayer1 has joined #ruby
19:07
kludger has quit [Ping timeout: 252 seconds]
19:12
kludger_ has quit [Ping timeout: 255 seconds]
19:17
<
KOTP >
And often using `each` is not as good as using an Enumerable that has `each` as a dependency.
19:19
<
KOTP >
And the for-loop uses `each` under the hood.
19:20
dhruvasagar has quit [Ping timeout: 245 seconds]
19:25
kludger has joined #ruby
19:26
<
weaksauce >
also each in the first one is a variable now and has the value of 3. each could be any variable name lol
19:29
kludger has quit [Read error: Connection reset by peer]
19:31
kludger has joined #ruby
19:32
dhruvasagar has joined #ruby
19:38
hwpplayer1 has quit [Remote host closed the connection]
19:38
dhruvasagar has quit [Ping timeout: 252 seconds]
19:41
hwpplayer1 has joined #ruby
19:41
hwpplayer1 has quit [Remote host closed the connection]
19:47
donofrio has joined #ruby
19:47
pages has joined #ruby
19:49
dhruvasagar has joined #ruby
19:54
dhruvasagar has quit [Ping timeout: 255 seconds]
20:00
kludger has quit [Quit: kludger]
20:06
dhruvasagar has joined #ruby
20:12
dhruvasagar has quit [Ping timeout: 252 seconds]
20:16
Linux_Kerio has quit [Ping timeout: 252 seconds]
20:24
dhruvasagar has joined #ruby
20:30
dhruvasagar has quit [Ping timeout: 252 seconds]
20:42
dhruvasagar has joined #ruby
20:42
lunarkitty has quit [Read error: Connection reset by peer]
20:43
lunarkitty has joined #ruby
20:45
lunarkitty has quit [Remote host closed the connection]
20:48
dhruvasagar has quit [Ping timeout: 246 seconds]
20:49
lunarkitty has joined #ruby
21:00
dhruvasagar has joined #ruby
21:06
dhruvasagar has quit [Ping timeout: 265 seconds]
21:11
dhruvasagar has joined #ruby
21:22
dhruvasagar has quit [Ping timeout: 255 seconds]
21:26
phenom has quit [Ping timeout: 265 seconds]
21:34
dhruvasagar has joined #ruby
21:37
cappy has quit [Quit: Leaving]
21:41
dhruvasagar has quit [Ping timeout: 276 seconds]
21:52
dhruvasagar has joined #ruby
21:57
dhruvasagar has quit [Ping timeout: 252 seconds]
22:09
dhruvasagar has joined #ruby
22:18
dhruvasagar has quit [Ping timeout: 248 seconds]
22:22
<
havenwood5 >
Always avoid `for` in Ruby. It's just an easter egg, not meant for use.
22:22
havenwood5 has joined #ruby
22:27
<
gr33n7007h >
i always forget block local arguments even exist.
22:30
dhruvasagar has joined #ruby
22:36
dhruvasagar has quit [Ping timeout: 252 seconds]
22:47
dhruvasagar has joined #ruby
23:00
ruby[bot] has quit [Remote host closed the connection]
23:00
donofrio has quit [Ping timeout: 252 seconds]
23:00
ruby[bot] has joined #ruby
23:09
dhruvasagar has quit [Ping timeout: 246 seconds]
23:13
dhruvasagar has joined #ruby
23:15
Versality has quit [Remote host closed the connection]
23:18
dhruvasagar has quit [Ping timeout: 248 seconds]
23:29
dhruvasagar has joined #ruby
23:36
dhruvasagar has quit [Ping timeout: 272 seconds]
23:47
dhruvasagar has joined #ruby
23:48
ftajhii has joined #ruby
23:53
dhruvasagar has quit [Ping timeout: 276 seconds]