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
grokify has joined #ruby
grokify has quit [Ping timeout: 260 seconds]
Rounin has quit [Ping timeout: 265 seconds]
<sam113101> I used pattern matching for the first time in one of my programs
<sam113101> you know what, I could have used regular deconstructing
desnudopenguino has quit [Ping timeout: 244 seconds]
drainpipe has joined #ruby
Guimauve has joined #ruby
gr33n7007h has quit [Ping timeout: 265 seconds]
gr33n7007h has joined #ruby
nirvdrum has joined #ruby
drainpipe has quit [Ping timeout: 244 seconds]
nirvdrum has quit [*.net *.split]
pvalenta has quit [*.net *.split]
nmollerup has quit [*.net *.split]
ur5us has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
bougyman has quit [*.net *.split]
jvalleroy has quit [*.net *.split]
yossarian has quit [*.net *.split]
mdemo has quit [*.net *.split]
havenwood has quit [*.net *.split]
gcd has quit [*.net *.split]
jimeh has quit [*.net *.split]
finsternis has quit [*.net *.split]
libsys has quit [*.net *.split]
srushe has quit [*.net *.split]
Bounga has quit [*.net *.split]
gigamo has quit [*.net *.split]
mahler has quit [*.net *.split]
Inoperable has quit [*.net *.split]
hwrd has quit [*.net *.split]
ikonia has quit [*.net *.split]
cout has quit [*.net *.split]
marahin has quit [*.net *.split]
scriptonaut has quit [*.net *.split]
Guest9768 has quit [*.net *.split]
cout_ has joined #ruby
yossarian has joined #ruby
gcd has joined #ruby
scriptonaut has joined #ruby
Guest9768 has joined #ruby
libsys has joined #ruby
ikonia has joined #ruby
finsternis has joined #ruby
yossarian has quit [Changing host]
yossarian has joined #ruby
gr33n7007h has joined #ruby
gigamo has joined #ruby
havenwood has joined #ruby
gigamo has joined #ruby
gigamo has quit [Signing in (gigamo)]
jimeh has joined #ruby
nmollerup has joined #ruby
hasley has joined #ruby
pvalenta has joined #ruby
jvalleroy has joined #ruby
bougyman has joined #ruby
mdemo has joined #ruby
Bounga has joined #ruby
srushe has joined #ruby
hwrd has joined #ruby
nirvdrum has joined #ruby
Inoperable has joined #ruby
grokify has joined #ruby
marahin has joined #ruby
drainpipe has joined #ruby
grokify has quit [Ping timeout: 246 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 250 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
ur5us has joined #ruby
drainpipe has quit [Ping timeout: 264 seconds]
drainpipe has joined #ruby
idiocrash has joined #ruby
drainpipe has quit [Ping timeout: 264 seconds]
D_A_N has quit [Quit: leaving]
sgt_chuckles has quit [Quit: Client closed]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 250 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
idiocrash has quit [Quit: Textual IRC Client: www.textualapp.com]
Fleeno has joined #ruby
Fleeno has quit [Client Quit]
grokify has joined #ruby
drainpipe has joined #ruby
grokify has quit [Ping timeout: 248 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 264 seconds]
nirvdrum has quit [Quit: nirvdrum]
grokify has joined #ruby
nirvdrum has joined #ruby
drainpipe has joined #ruby
grokify has quit [Ping timeout: 246 seconds]
Vonter has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
pgib has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
Guimauve has quit [Ping timeout: 244 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 250 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #ruby
comet23 has joined #ruby
drainpipe has joined #ruby
hd1 has joined #ruby
hd1 has left #ruby [#ruby]
drainpipe has quit [Ping timeout: 252 seconds]
drainpipe has joined #ruby
ur5us has quit [Ping timeout: 250 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
ur5us has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
Vonter has quit [Ping timeout: 264 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 265 seconds]
comet23 has quit [Ping timeout: 244 seconds]
Vonter has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
moldorcoder7 has joined #ruby
walez has joined #ruby
walez has quit [Read error: Connection reset by peer]
walez has joined #ruby
drainpipe has joined #ruby
pvalenta has quit [Quit: ZNC - https://znc.in]
pvalenta has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
pvalenta has quit [Client Quit]
jpn has joined #ruby
pvalenta has joined #ruby
drainpipe has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
Vonter has quit [Ping timeout: 246 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
wand has quit [Ping timeout: 258 seconds]
drainpipe has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
Inoperable has quit [*.net *.split]
hasley has quit [*.net *.split]
Petruchio has quit [*.net *.split]
darabiesvampire has quit [*.net *.split]
m_antis has quit [*.net *.split]
arahael has quit [*.net *.split]
rvalue has quit [*.net *.split]
whysthatso125070 has quit [*.net *.split]
BSaboia has quit [*.net *.split]
Thanzex3 has quit [*.net *.split]
PedroG1 has quit [*.net *.split]
Milos has quit [*.net *.split]
weyhmueller has quit [*.net *.split]
legahc has quit [*.net *.split]
mahlon has quit [*.net *.split]
darabiesvampire has joined #ruby
m_antis has joined #ruby
legahc has joined #ruby
mahlon has joined #ruby
PedroG1 has joined #ruby
rvalue has joined #ruby
hasley has joined #ruby
BSaboia has joined #ruby
Thanzex3 has joined #ruby
Milos has joined #ruby
weyhmueller has joined #ruby
wand has joined #ruby
Inoperable has joined #ruby
wand_ has joined #ruby
wand has quit [Ping timeout: 258 seconds]
drainpipe has joined #ruby
mbarbar has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
mbarbar has joined #ruby
grokify has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
grokify has quit [Ping timeout: 268 seconds]
mbarbar has quit [Ping timeout: 252 seconds]
mbarbar has joined #ruby
Rounin has joined #ruby
Rounin has quit [Changing host]
Rounin has joined #ruby
dionysus69 has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 248 seconds]
zoknert has joined #ruby
Guimauve has joined #ruby
drainpipe has joined #ruby
zoknert has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
gr33n7007h has quit [Ping timeout: 246 seconds]
gr33n7007h has joined #ruby
kiwi_36 has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
jpn has joined #ruby
Vonter has joined #ruby
TomyWork has joined #ruby
arahael has joined #ruby
jpn has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
jvalleroy has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
jvalleroy has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
jpn has joined #ruby
moldorcoder7 has quit [Ping timeout: 268 seconds]
Guimauve has quit [Quit: Client closed]
moldorcoder7 has joined #ruby
jpn has quit [Ping timeout: 264 seconds]
jpn has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
kiwi_36 has quit [Ping timeout: 264 seconds]
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 248 seconds]
Vonter has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
ur5us has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
teclator has joined #ruby
niv has joined #ruby
skuntee4 has joined #ruby
drainpipe has joined #ruby
skuntee4 has quit [Ping timeout: 268 seconds]
drainpipe has quit [Ping timeout: 248 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 264 seconds]
Vonter has joined #ruby
walez has quit [Quit: Leaving]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 248 seconds]
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 248 seconds]
graywolf has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
teclator_ has joined #ruby
walez has joined #ruby
weaksauc_ has joined #ruby
drainpipe has joined #ruby
weaksauce has quit [Ping timeout: 268 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 246 seconds]
grokify has joined #ruby
grokify has quit [Remote host closed the connection]
moldorcoder7 has quit [Ping timeout: 264 seconds]
grokify has joined #ruby
moldorcoder7 has joined #ruby
grokify has quit [Remote host closed the connection]
skuntee4 has joined #ruby
grokify has joined #ruby
drainpipe has joined #ruby
grokify has quit [Remote host closed the connection]
grokify has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
drainpipe has joined #ruby
skuntee4 has quit [Ping timeout: 268 seconds]
drainpipe has quit [Ping timeout: 246 seconds]
Vonter has quit [Read error: Connection reset by peer]
joto has joined #ruby
drainpipe has joined #ruby
jpn has quit [Ping timeout: 246 seconds]
Vonter has joined #ruby
drainpipe has quit [Ping timeout: 246 seconds]
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
Tempesta has quit [Remote host closed the connection]
Tempesta has joined #ruby
nirvdrum has joined #ruby
drainpipe has joined #ruby
drainpipe has quit [Client Quit]
joto has quit [Ping timeout: 248 seconds]
teclator_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
nirvdrum has quit [Quit: nirvdrum]
D_A_N has joined #ruby
nirvdrum has joined #ruby
graywolf has quit [Quit: WeeChat 3.5]
drainpipe has joined #ruby
Lowly_Drainpipe has joined #ruby
drainpipe has quit [Ping timeout: 264 seconds]
Lowly_Drainpipe is now known as drainpipe
hasley is now known as mahler
nirvdrum has quit [Quit: nirvdrum]
nirvdrum has joined #ruby
drainpipe has quit [Ping timeout: 268 seconds]
herrschreinerei has joined #ruby
<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?
<herrschreinerei> My use case is pretty simple, I want to read a config file (that would be a dotfile in $HOME in Linux/Mac).
<adam12> herrschreinerei: A configuration file for your own app?
<herrschreinerei> yes that's it
<herrschreinerei> I am sure there is a canonical way of doing it. I've seen pretty specific advices for rails but nothing more general.
<adam12> I'm not sure I'd use a dependency for this, but maybe I would. I think `Dir.home` is multiplatform.
<adam12> If you wanted to follow XDG, maybe you'd need to be a bit fancier.
<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.
<herrschreinerei> Thanks!
<adam12> herrschreinerei: Ohh.
<adam12> I generally try to stay dependency free, but the tty-* gems are solid.
<adam12> Dir.home with 0 args is a wrapper around $HOME, btw (I looked because I was curious :))
drainpipe has joined #ruby
<herrschreinerei> yeah I didn't know that tty-config. The interface looks nice. I think I'll use that.
acosta6 has quit [Quit: The Lounge - https://thelounge.chat]
acosta6 has joined #ruby
tdcw has joined #ruby
eddof13 has joined #ruby
Vonter has quit [Ping timeout: 248 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has quit [Quit: nirvdrum]
some14u has joined #ruby
skuntee4 has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
nirvdrum has joined #ruby
Lowly_Drainpipe has joined #ruby
nirvdrum has quit [Client Quit]
desnudopenguino has joined #ruby
herrschreinerei has quit [Remote host closed the connection]
Lowly_Drainpipe has quit [Ping timeout: 268 seconds]
Lowly_Drainpipe has joined #ruby
skuntee4 has quit [Remote host closed the connection]
Lowly_Drainpipe has quit [Ping timeout: 260 seconds]
Lowly_Drainpipe has joined #ruby
grokify has quit [Remote host closed the connection]
Lowly_Drainpipe has quit [Ping timeout: 260 seconds]
grokify has joined #ruby
eddof13 has joined #ruby
Lowly_Drainpipe has joined #ruby
grokify has quit [Remote host closed the connection]
Lowly_Drainpipe has quit [Ping timeout: 268 seconds]
grokify has joined #ruby
nirvdrum has joined #ruby
grokify has quit [Remote host closed the connection]
kweever has joined #ruby
kweever has quit [Remote host closed the connection]
kweever has joined #ruby
kweever has quit [Ping timeout: 252 seconds]
nirvdrum has quit [Quit: nirvdrum]
hd1 has joined #ruby
hd1 has left #ruby [#ruby]
Lowly_Drainpipe has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lowly_Drainpipe has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 264 seconds]
Vonter has joined #ruby
some14u has joined #ruby
some14u has quit [Client Quit]
grokify has joined #ruby
finsternis has quit [Read error: Connection reset by peer]
some14u has joined #ruby
grokify has quit [Ping timeout: 248 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lowly_Drainpipe has joined #ruby
kweever has joined #ruby
cAMP has joined #ruby
<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.
<cAMP> But, Float gives undefined method ^
Lowly_Drainpipe has quit [Ping timeout: 268 seconds]
<cAMP> Ah nm, it is **
Lowly_Drainpipe has joined #ruby
Lowly_Drainpipe has quit [Client Quit]
grokify has joined #ruby
tdcw has quit [Ping timeout: 268 seconds]
kweever has quit [Ping timeout: 268 seconds]
grokify has quit [Ping timeout: 252 seconds]
TomyWork has quit [Remote host closed the connection]
nirvdrum has joined #ruby
joto has joined #ruby
tdcw has joined #ruby
some14u has joined #ruby
some14u has quit [Client Quit]
axisys has joined #ruby
niv has quit [Quit: Powered by LunarBNC: https://LunarBNC.net]
niv has joined #ruby
niv has quit [Client Quit]
nirvdrum has quit [Quit: nirvdrum]
niv has joined #ruby
niv has quit [Client Quit]
niv has joined #ruby
nirvdrum has joined #ruby
nirvdrum has quit [Client Quit]
some14u has joined #ruby
axisys has quit [Quit: leaving]
tdcw has quit [Ping timeout: 248 seconds]
Vonter has quit [Ping timeout: 246 seconds]
tdcw has joined #ruby
finsternis has joined #ruby
_ht has joined #ruby
Fleeno has joined #ruby
dviola has quit [Ping timeout: 260 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
grokify has joined #ruby
grokify has quit [Ping timeout: 246 seconds]
_ht has quit [Remote host closed the connection]
drainpipe has joined #ruby
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
walez has quit [Remote host closed the connection]
Sheilong has joined #ruby
ur5us has joined #ruby
Fleeno has joined #ruby
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #ruby
dionysus69 has joined #ruby
tdcw has quit [Ping timeout: 264 seconds]
zoknert has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
tdcw has joined #ruby
ur5us has joined #ruby
Fleeno has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RougeR has joined #ruby
Guimauve has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.7]
plujon has joined #ruby
perrierjouet has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
nirvdrum has joined #ruby
drainpipe has quit [Ping timeout: 252 seconds]
weaksauc_ has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has quit [Ping timeout: 268 seconds]
Guimauve has quit [Quit: please stop licking my ears ;_;]
ur5us has joined #ruby
tdcw has quit [Ping timeout: 264 seconds]
weaksauce has joined #ruby
tdcw has joined #ruby
nirvdrum has quit [Quit: nirvdrum]
tdcw has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grokify has joined #ruby
drainpipe has joined #ruby
some14u has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tdcw has joined #ruby
grokify has quit [Ping timeout: 248 seconds]
RougeR has quit [Ping timeout: 246 seconds]
drainpipe has quit [Ping timeout: 268 seconds]
tdcw has quit [Ping timeout: 260 seconds]
eddof13 has joined #ruby
zoknert has quit [Ping timeout: 268 seconds]
Rounin has quit [Ping timeout: 268 seconds]
tdcw has joined #ruby
drainpipe has joined #ruby
tdcw has quit [Ping timeout: 246 seconds]
drainpipe has quit [Ping timeout: 252 seconds]
Stoffel has quit [Ping timeout: 268 seconds]
Fleeno has joined #ruby
perrierjouet has quit [Quit: WeeChat 3.7]