00:03
grokify has joined #ruby
00:07
grokify has quit [Ping timeout: 260 seconds]
00:23
Rounin has quit [Ping timeout: 265 seconds]
00:38
<
sam113101 >
I used pattern matching for the first time in one of my programs
00:41
<
sam113101 >
you know what, I could have used regular deconstructing
00:54
desnudopenguino has quit [Ping timeout: 244 seconds]
00:57
drainpipe has joined #ruby
01:04
Guimauve has joined #ruby
01:06
gr33n7007h has quit [Ping timeout: 265 seconds]
01:08
gr33n7007h has joined #ruby
01:09
nirvdrum has joined #ruby
01:13
drainpipe has quit [Ping timeout: 244 seconds]
01:16
nirvdrum has quit [*.net *.split]
01:16
pvalenta has quit [*.net *.split]
01:16
nmollerup has quit [*.net *.split]
01:16
ur5us has quit [*.net *.split]
01:16
gr33n7007h has quit [*.net *.split]
01:16
bougyman has quit [*.net *.split]
01:16
jvalleroy has quit [*.net *.split]
01:16
yossarian has quit [*.net *.split]
01:16
mdemo has quit [*.net *.split]
01:16
havenwood has quit [*.net *.split]
01:16
gcd has quit [*.net *.split]
01:16
jimeh has quit [*.net *.split]
01:16
finsternis has quit [*.net *.split]
01:16
libsys has quit [*.net *.split]
01:16
srushe has quit [*.net *.split]
01:16
Bounga has quit [*.net *.split]
01:16
gigamo has quit [*.net *.split]
01:16
mahler has quit [*.net *.split]
01:16
Inoperable has quit [*.net *.split]
01:16
hwrd has quit [*.net *.split]
01:16
ikonia has quit [*.net *.split]
01:16
cout has quit [*.net *.split]
01:16
marahin has quit [*.net *.split]
01:16
scriptonaut has quit [*.net *.split]
01:16
Guest9768 has quit [*.net *.split]
01:16
cout_ has joined #ruby
01:16
yossarian has joined #ruby
01:16
gcd has joined #ruby
01:16
scriptonaut has joined #ruby
01:16
Guest9768 has joined #ruby
01:16
libsys has joined #ruby
01:16
ikonia has joined #ruby
01:16
finsternis has joined #ruby
01:16
yossarian has quit [Changing host]
01:16
yossarian has joined #ruby
01:16
gr33n7007h has joined #ruby
01:16
gigamo has joined #ruby
01:16
havenwood has joined #ruby
01:17
gigamo has joined #ruby
01:17
gigamo has quit [Signing in (gigamo)]
01:17
jimeh has joined #ruby
01:17
nmollerup has joined #ruby
01:17
hasley has joined #ruby
01:18
pvalenta has joined #ruby
01:18
jvalleroy has joined #ruby
01:18
bougyman has joined #ruby
01:19
mdemo has joined #ruby
01:20
Bounga has joined #ruby
01:20
srushe has joined #ruby
01:21
hwrd has joined #ruby
01:22
nirvdrum has joined #ruby
01:24
Inoperable has joined #ruby
01:25
grokify has joined #ruby
01:25
marahin has joined #ruby
01:26
drainpipe has joined #ruby
01:29
grokify has quit [Ping timeout: 246 seconds]
01:31
drainpipe has quit [Ping timeout: 268 seconds]
01:35
Sankalp has quit [Ping timeout: 260 seconds]
01:35
Sankalp has joined #ruby
01:38
drainpipe has joined #ruby
01:43
drainpipe has quit [Ping timeout: 250 seconds]
01:44
drainpipe has joined #ruby
01:49
drainpipe has quit [Ping timeout: 268 seconds]
01:51
drainpipe has joined #ruby
01:56
ur5us has joined #ruby
01:59
drainpipe has quit [Ping timeout: 264 seconds]
02:00
drainpipe has joined #ruby
02:00
idiocrash has joined #ruby
02:05
drainpipe has quit [Ping timeout: 264 seconds]
02:08
D_A_N has quit [Quit: leaving]
02:09
sgt_chuckles has quit [Quit: Client closed]
02:18
drainpipe has joined #ruby
02:29
drainpipe has quit [Ping timeout: 250 seconds]
02:32
drainpipe has joined #ruby
02:37
drainpipe has quit [Ping timeout: 268 seconds]
02:49
Fleeno has joined #ruby
02:51
Fleeno has quit [Client Quit]
02:55
grokify has joined #ruby
02:56
drainpipe has joined #ruby
02:59
grokify has quit [Ping timeout: 248 seconds]
03:01
drainpipe has quit [Ping timeout: 268 seconds]
03:02
drainpipe has joined #ruby
03:07
drainpipe has quit [Ping timeout: 264 seconds]
03:21
nirvdrum has quit [Quit: nirvdrum]
03:21
grokify has joined #ruby
03:23
nirvdrum has joined #ruby
03:26
drainpipe has joined #ruby
03:29
grokify has quit [Ping timeout: 246 seconds]
03:29
Vonter has joined #ruby
03:31
drainpipe has quit [Ping timeout: 268 seconds]
03:35
pgib has joined #ruby
03:39
nirvdrum has quit [Quit: nirvdrum]
03:40
Guimauve has quit [Ping timeout: 244 seconds]
03:43
drainpipe has joined #ruby
03:47
drainpipe has quit [Ping timeout: 250 seconds]
03:58
grokify has joined #ruby
03:59
grokify has quit [Remote host closed the connection]
04:07
drainpipe has joined #ruby
04:12
drainpipe has quit [Ping timeout: 268 seconds]
04:24
ur5us has quit [Ping timeout: 250 seconds]
04:25
ur5us has joined #ruby
04:27
comet23 has joined #ruby
04:29
drainpipe has joined #ruby
04:30
hd1 has joined #ruby
04:30
hd1 has left #ruby [#ruby]
04:34
drainpipe has quit [Ping timeout: 252 seconds]
04:45
drainpipe has joined #ruby
04:50
ur5us has quit [Ping timeout: 250 seconds]
04:50
drainpipe has quit [Ping timeout: 268 seconds]
05:21
ur5us has joined #ruby
05:25
drainpipe has joined #ruby
05:30
drainpipe has quit [Ping timeout: 268 seconds]
05:36
drainpipe has joined #ruby
05:42
drainpipe has quit [Ping timeout: 268 seconds]
05:46
Vonter has quit [Ping timeout: 264 seconds]
05:48
drainpipe has joined #ruby
05:52
drainpipe has quit [Ping timeout: 265 seconds]
05:56
comet23 has quit [Ping timeout: 244 seconds]
05:58
Vonter has joined #ruby
06:00
drainpipe has joined #ruby
06:05
drainpipe has quit [Ping timeout: 268 seconds]
06:07
moldorcoder7 has joined #ruby
06:11
walez has joined #ruby
06:11
walez has quit [Read error: Connection reset by peer]
06:13
walez has joined #ruby
06:18
drainpipe has joined #ruby
06:21
pvalenta has joined #ruby
06:23
drainpipe has quit [Ping timeout: 268 seconds]
06:25
pvalenta has quit [Client Quit]
06:26
jpn has joined #ruby
06:26
pvalenta has joined #ruby
06:28
drainpipe has joined #ruby
06:31
jpn has quit [Ping timeout: 268 seconds]
06:31
Vonter has quit [Ping timeout: 246 seconds]
06:34
drainpipe has quit [Ping timeout: 268 seconds]
06:36
wand has quit [Ping timeout: 258 seconds]
06:36
drainpipe has joined #ruby
06:39
ur5us has quit [Ping timeout: 248 seconds]
06:40
drainpipe has quit [Ping timeout: 268 seconds]
06:42
Inoperable has quit [*.net *.split]
06:42
hasley has quit [*.net *.split]
06:42
Petruchio has quit [*.net *.split]
06:42
darabiesvampire has quit [*.net *.split]
06:42
m_antis has quit [*.net *.split]
06:42
arahael has quit [*.net *.split]
06:42
rvalue has quit [*.net *.split]
06:42
whysthatso125070 has quit [*.net *.split]
06:42
BSaboia has quit [*.net *.split]
06:42
Thanzex3 has quit [*.net *.split]
06:42
PedroG1 has quit [*.net *.split]
06:42
Milos has quit [*.net *.split]
06:42
weyhmueller has quit [*.net *.split]
06:42
legahc has quit [*.net *.split]
06:42
mahlon has quit [*.net *.split]
06:42
darabiesvampire has joined #ruby
06:42
m_antis has joined #ruby
06:43
legahc has joined #ruby
06:43
mahlon has joined #ruby
06:44
PedroG1 has joined #ruby
06:44
rvalue has joined #ruby
06:44
hasley has joined #ruby
06:44
BSaboia has joined #ruby
06:45
Thanzex3 has joined #ruby
06:45
Milos has joined #ruby
06:45
weyhmueller has joined #ruby
06:48
wand has joined #ruby
06:53
Inoperable has joined #ruby
06:53
wand_ has joined #ruby
06:56
wand has quit [Ping timeout: 258 seconds]
07:00
drainpipe has joined #ruby
07:03
mbarbar has joined #ruby
07:03
grokify has joined #ruby
07:05
drainpipe has quit [Ping timeout: 268 seconds]
07:08
grokify has quit [Ping timeout: 268 seconds]
07:10
mbarbar has quit [Ping timeout: 252 seconds]
07:10
mbarbar has joined #ruby
07:14
Rounin has joined #ruby
07:14
Rounin has quit [Changing host]
07:14
Rounin has joined #ruby
07:19
dionysus69 has joined #ruby
07:22
drainpipe has joined #ruby
07:27
drainpipe has quit [Ping timeout: 248 seconds]
07:29
zoknert has joined #ruby
07:30
Guimauve has joined #ruby
07:34
drainpipe has joined #ruby
07:34
gr33n7007h has quit [Ping timeout: 246 seconds]
07:36
gr33n7007h has joined #ruby
07:39
kiwi_36 has joined #ruby
07:39
drainpipe has quit [Ping timeout: 268 seconds]
07:41
jpn has joined #ruby
07:45
Vonter has joined #ruby
07:47
TomyWork has joined #ruby
07:50
arahael has joined #ruby
07:54
jpn has quit [Ping timeout: 268 seconds]
07:56
drainpipe has joined #ruby
08:02
jvalleroy has joined #ruby
08:02
drainpipe has quit [Ping timeout: 268 seconds]
08:06
jpn has joined #ruby
08:07
moldorcoder7 has quit [Ping timeout: 268 seconds]
08:13
Guimauve has quit [Quit: Client closed]
08:13
moldorcoder7 has joined #ruby
08:18
jpn has quit [Ping timeout: 264 seconds]
08:19
jpn has joined #ruby
08:21
drainpipe has joined #ruby
08:27
drainpipe has quit [Ping timeout: 268 seconds]
08:27
kiwi_36 has quit [Ping timeout: 264 seconds]
08:45
drainpipe has joined #ruby
08:50
drainpipe has quit [Ping timeout: 248 seconds]
08:50
Vonter has quit [Ping timeout: 268 seconds]
08:50
drainpipe has joined #ruby
08:52
ur5us has joined #ruby
08:56
drainpipe has quit [Ping timeout: 268 seconds]
08:59
teclator has joined #ruby
09:02
niv has joined #ruby
09:08
skuntee4 has joined #ruby
09:14
drainpipe has joined #ruby
09:16
skuntee4 has quit [Ping timeout: 268 seconds]
09:18
drainpipe has quit [Ping timeout: 248 seconds]
09:26
drainpipe has joined #ruby
09:31
drainpipe has quit [Ping timeout: 264 seconds]
09:43
Vonter has joined #ruby
09:45
walez has quit [Quit: Leaving]
09:47
drainpipe has joined #ruby
09:52
drainpipe has quit [Ping timeout: 246 seconds]
09:53
ur5us has quit [Ping timeout: 268 seconds]
09:57
drainpipe has joined #ruby
10:02
drainpipe has quit [Ping timeout: 248 seconds]
10:04
drainpipe has joined #ruby
10:09
drainpipe has quit [Ping timeout: 248 seconds]
10:15
graywolf has joined #ruby
10:22
teclator has quit [Ping timeout: 264 seconds]
10:22
teclator_ has joined #ruby
10:23
walez has joined #ruby
10:26
weaksauc_ has joined #ruby
10:28
drainpipe has joined #ruby
10:29
weaksauce has quit [Ping timeout: 268 seconds]
10:34
drainpipe has quit [Ping timeout: 268 seconds]
10:41
aeris has quit [Remote host closed the connection]
10:41
aeris has joined #ruby
10:54
drainpipe has joined #ruby
10:58
drainpipe has quit [Ping timeout: 246 seconds]
11:03
grokify has joined #ruby
11:06
grokify has quit [Remote host closed the connection]
11:08
moldorcoder7 has quit [Ping timeout: 264 seconds]
11:13
grokify has joined #ruby
11:14
moldorcoder7 has joined #ruby
11:16
grokify has quit [Remote host closed the connection]
11:17
skuntee4 has joined #ruby
11:17
grokify has joined #ruby
11:17
drainpipe has joined #ruby
11:20
grokify has quit [Remote host closed the connection]
11:21
grokify has joined #ruby
11:22
drainpipe has quit [Ping timeout: 268 seconds]
11:28
drainpipe has joined #ruby
11:28
skuntee4 has quit [Ping timeout: 268 seconds]
11:33
drainpipe has quit [Ping timeout: 246 seconds]
11:33
Vonter has quit [Read error: Connection reset by peer]
11:33
joto has joined #ruby
11:34
drainpipe has joined #ruby
11:35
jpn has quit [Ping timeout: 246 seconds]
11:38
Vonter has joined #ruby
11:39
drainpipe has quit [Ping timeout: 246 seconds]
11:51
nirvdrum has joined #ruby
11:53
nirvdrum has quit [Client Quit]
11:55
Tempesta has quit [Remote host closed the connection]
12:00
Tempesta has joined #ruby
12:04
nirvdrum has joined #ruby
12:05
drainpipe has joined #ruby
12:05
drainpipe has quit [Client Quit]
12:05
joto has quit [Ping timeout: 248 seconds]
12:32
nirvdrum has quit [Quit: nirvdrum]
12:39
D_A_N has joined #ruby
12:50
nirvdrum has joined #ruby
12:55
graywolf has quit [Quit: WeeChat 3.5]
13:00
drainpipe has joined #ruby
13:04
Lowly_Drainpipe has joined #ruby
13:06
drainpipe has quit [Ping timeout: 264 seconds]
13:08
Lowly_Drainpipe is now known as drainpipe
13:10
hasley is now known as mahler
13:15
nirvdrum has quit [Quit: nirvdrum]
13:20
nirvdrum has joined #ruby
13:22
drainpipe has quit [Ping timeout: 268 seconds]
13:26
herrschreinerei has joined #ruby
13:27
<
herrschreinerei >
Hello fellow rubyist. How do you get the path for configuration file in Ruby? Is there a multiplatform gem that would do the trick?
13:28
<
herrschreinerei >
My use case is pretty simple, I want to read a config file (that would be a dotfile in $HOME in Linux/Mac).
13:29
<
adam12 >
herrschreinerei: A configuration file for your own app?
13:29
<
herrschreinerei >
yes that's it
13:30
<
herrschreinerei >
I am sure there is a canonical way of doing it. I've seen pretty specific advices for rails but nothing more general.
13:31
<
adam12 >
I'm not sure I'd use a dependency for this, but maybe I would. I think `Dir.home` is multiplatform.
13:31
<
adam12 >
If you wanted to follow XDG, maybe you'd need to be a bit fancier.
13:32
<
herrschreinerei >
That will do. I had in mind something like ConfigParser in python. But really, a simple Dir.home + the yaml gem should be more than enough.
13:32
<
herrschreinerei >
Thanks!
13:33
<
adam12 >
herrschreinerei: Ohh.
13:33
<
adam12 >
I generally try to stay dependency free, but the tty-* gems are solid.
13:33
<
adam12 >
Dir.home with 0 args is a wrapper around $HOME, btw (I looked because I was curious :))
13:34
drainpipe has joined #ruby
13:35
<
herrschreinerei >
yeah I didn't know that tty-config. The interface looks nice. I think I'll use that.
13:37
acosta6 has joined #ruby
13:48
tdcw has joined #ruby
13:50
eddof13 has joined #ruby
13:55
Vonter has quit [Ping timeout: 248 seconds]
14:02
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:05
nirvdrum has quit [Quit: nirvdrum]
14:06
some14u has joined #ruby
14:10
skuntee4 has joined #ruby
14:10
nirvdrum has joined #ruby
14:12
nirvdrum has quit [Client Quit]
14:15
nirvdrum has joined #ruby
14:18
Lowly_Drainpipe has joined #ruby
14:18
nirvdrum has quit [Client Quit]
14:21
desnudopenguino has joined #ruby
14:23
herrschreinerei has quit [Remote host closed the connection]
14:24
Lowly_Drainpipe has quit [Ping timeout: 268 seconds]
14:30
Lowly_Drainpipe has joined #ruby
14:31
skuntee4 has quit [Remote host closed the connection]
14:35
Lowly_Drainpipe has quit [Ping timeout: 260 seconds]
14:36
Lowly_Drainpipe has joined #ruby
14:40
grokify has quit [Remote host closed the connection]
14:41
Lowly_Drainpipe has quit [Ping timeout: 260 seconds]
14:42
grokify has joined #ruby
14:43
eddof13 has joined #ruby
14:47
Lowly_Drainpipe has joined #ruby
14:47
grokify has quit [Remote host closed the connection]
14:52
Lowly_Drainpipe has quit [Ping timeout: 268 seconds]
14:52
grokify has joined #ruby
14:57
nirvdrum has joined #ruby
14:58
grokify has quit [Remote host closed the connection]
15:01
kweever has joined #ruby
15:03
kweever has quit [Remote host closed the connection]
15:04
kweever has joined #ruby
15:22
kweever has quit [Ping timeout: 252 seconds]
15:33
nirvdrum has quit [Quit: nirvdrum]
15:39
hd1 has joined #ruby
15:41
hd1 has left #ruby [#ruby]
15:53
Lowly_Drainpipe has joined #ruby
15:56
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:58
Lowly_Drainpipe has quit [Ping timeout: 264 seconds]
16:01
dionysus69 has quit [Ping timeout: 264 seconds]
16:10
Vonter has joined #ruby
16:15
some14u has joined #ruby
16:18
some14u has quit [Client Quit]
16:28
grokify has joined #ruby
16:30
finsternis has quit [Read error: Connection reset by peer]
16:32
some14u has joined #ruby
16:32
grokify has quit [Ping timeout: 248 seconds]
16:42
rvalue has quit [Read error: Connection reset by peer]
16:42
rvalue has joined #ruby
16:55
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:01
Lowly_Drainpipe has joined #ruby
17:02
kweever has joined #ruby
17:04
cAMP has joined #ruby
17:05
<
cAMP >
So, I was looking for how to square a float. Of course I didn't find the answer, Float doesn't have such method and the search engine thinks I want square root. No, I want to x^2.
17:05
<
cAMP >
But, Float gives undefined method ^
17:06
Lowly_Drainpipe has quit [Ping timeout: 268 seconds]
17:09
<
cAMP >
Ah nm, it is **
17:16
Lowly_Drainpipe has joined #ruby
17:20
Lowly_Drainpipe has quit [Client Quit]
17:26
grokify has joined #ruby
17:27
tdcw has quit [Ping timeout: 268 seconds]
17:30
kweever has quit [Ping timeout: 268 seconds]
17:31
grokify has quit [Ping timeout: 252 seconds]
17:33
TomyWork has quit [Remote host closed the connection]
17:42
nirvdrum has joined #ruby
17:49
joto has joined #ruby
18:00
tdcw has joined #ruby
18:03
some14u has joined #ruby
18:06
some14u has quit [Client Quit]
18:16
axisys has joined #ruby
18:24
niv has joined #ruby
18:25
niv has quit [Client Quit]
18:26
nirvdrum has quit [Quit: nirvdrum]
18:28
niv has joined #ruby
18:28
niv has quit [Client Quit]
18:29
niv has joined #ruby
18:39
nirvdrum has joined #ruby
18:40
nirvdrum has quit [Client Quit]
18:41
some14u has joined #ruby
19:02
axisys has quit [Quit: leaving]
19:15
tdcw has quit [Ping timeout: 248 seconds]
19:25
Vonter has quit [Ping timeout: 246 seconds]
19:25
tdcw has joined #ruby
19:28
finsternis has joined #ruby
19:31
_ht has joined #ruby
19:34
Fleeno has joined #ruby
19:43
dviola has quit [Ping timeout: 260 seconds]
19:44
drainpipe has quit [Ping timeout: 268 seconds]
19:44
yxhuvud has quit [Read error: Connection reset by peer]
19:44
yxhuvud has joined #ruby
19:46
grokify has joined #ruby
19:51
grokify has quit [Ping timeout: 246 seconds]
20:03
_ht has quit [Remote host closed the connection]
20:16
drainpipe has joined #ruby
20:22
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
20:35
walez has quit [Remote host closed the connection]
20:38
Sheilong has joined #ruby
20:47
ur5us has joined #ruby
20:48
Fleeno has joined #ruby
20:50
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:51
eddof13 has joined #ruby
20:53
dionysus69 has joined #ruby
20:56
tdcw has quit [Ping timeout: 264 seconds]
21:01
zoknert has joined #ruby
21:04
ur5us has quit [Ping timeout: 268 seconds]
21:06
tdcw has joined #ruby
21:09
ur5us has joined #ruby
21:12
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:26
RougeR has joined #ruby
21:35
Guimauve has joined #ruby
21:38
perrierjouet has quit [Quit: WeeChat 3.7]
21:41
plujon has joined #ruby
21:41
perrierjouet has joined #ruby
21:46
ur5us has quit [Ping timeout: 264 seconds]
21:47
nirvdrum has joined #ruby
21:55
drainpipe has quit [Ping timeout: 252 seconds]
21:59
dionysus69 has quit [Ping timeout: 268 seconds]
21:59
Guimauve has quit [Quit: please stop licking my ears ;_;]
22:02
ur5us has joined #ruby
22:02
tdcw has quit [Ping timeout: 264 seconds]
22:04
weaksauce has joined #ruby
22:33
tdcw has joined #ruby
22:37
nirvdrum has quit [Quit: nirvdrum]
22:38
tdcw has quit [Ping timeout: 260 seconds]
22:50
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:03
grokify has joined #ruby
23:05
drainpipe has joined #ruby
23:06
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:06
tdcw has joined #ruby
23:08
grokify has quit [Ping timeout: 248 seconds]
23:08
RougeR has quit [Ping timeout: 246 seconds]
23:10
drainpipe has quit [Ping timeout: 268 seconds]
23:11
tdcw has quit [Ping timeout: 260 seconds]
23:14
eddof13 has joined #ruby
23:23
zoknert has quit [Ping timeout: 268 seconds]
23:35
Rounin has quit [Ping timeout: 268 seconds]
23:38
tdcw has joined #ruby
23:40
drainpipe has joined #ruby
23:43
tdcw has quit [Ping timeout: 246 seconds]
23:44
drainpipe has quit [Ping timeout: 252 seconds]
23:52
Stoffel has quit [Ping timeout: 268 seconds]
23:54
Fleeno has joined #ruby
23:56
perrierjouet has quit [Quit: WeeChat 3.7]