havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.5.0, 2.4.3, 2.3.6: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
pastorinni has quit [Remote host closed the connection]
sanscoeur has quit [Ping timeout: 256 seconds]
Greasy-Gappers has joined #ruby
troys_ is now known as troys
lostandfound has joined #ruby
Vapez has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
megamos has quit [Ping timeout: 248 seconds]
justicefries has joined #ruby
vipaca has joined #ruby
vipaca has quit [Client Quit]
alfiemax has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
alfiemax has quit [Ping timeout: 272 seconds]
belmoussaoui has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
mtkd has quit [Ping timeout: 265 seconds]
psychicist__ has quit [Ping timeout: 272 seconds]
mtkd has joined #ruby
PaulCapestany has joined #ruby
psychicist__ has joined #ruby
PaulCapestany has quit [Read error: Connection reset by peer]
bkxd has quit []
PaulCapestany has joined #ruby
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
Azure has joined #ruby
duderonomy has joined #ruby
jrp93 has quit [Quit: Leaving]
mikecmpbll has joined #ruby
clemens3 has quit [Ping timeout: 252 seconds]
belmoussaoui has quit [Quit: belmoussaoui]
belmoussaoui has joined #ruby
reber has quit [Remote host closed the connection]
biberu has quit []
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
Asher has quit [Remote host closed the connection]
Asher has joined #ruby
alfiemax has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
AgentVenom has quit [Quit: Textual IRC Client: www.textualapp.com]
alfiemax has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 265 seconds]
nicesignal has quit [Ping timeout: 240 seconds]
troulouliou_div2 has joined #ruby
nicesignal has joined #ruby
hotpancakes has quit [Remote host closed the connection]
alfiemax has joined #ruby
stove has quit [Quit: stove]
justicefries has joined #ruby
stove has joined #ruby
hotpancakes has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
zwliew has joined #ruby
Vapez has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 240 seconds]
eletious has quit [Remote host closed the connection]
alfiemax has joined #ruby
troys is now known as troys_
troulouliou_div2 has quit [Remote host closed the connection]
JJBby has joined #ruby
alfiemax has quit [Ping timeout: 268 seconds]
Barrt has quit [Remote host closed the connection]
mtkd has joined #ruby
<JJBby> Hello, I am having some trouble installing ruby in ubuntu 17.10, i very new and following a guide so i am not sure what the error is that i am recieving or how to fix it...help would be appreciated
<JJBby> I initially tried to install 2.5.0 but that was resulted in the same error
mikecmpbll has quit [Quit: inabit. zz.]
AJA4350 has quit [Quit: AJA4350]
<havenwood> JJBby: run: rvm get head
<JJBby> havenwood: RVM Reloaded!
<havenwood> JJBby: then try: rvm install ruby
<JJBby> havenwood: still get the error, it says run an update and i get an error there
kapil___ has quit [Quit: Connection closed for inactivity]
marr has quit [Ping timeout: 248 seconds]
sparr has quit [Ping timeout: 272 seconds]
vipaca has joined #ruby
belmoussaoui has joined #ruby
ahrs has quit [Remote host closed the connection]
ahrs has joined #ruby
shinnya has joined #ruby
psychicist__ has quit [Ping timeout: 240 seconds]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eckhardt has joined #ruby
<havenwood> JJBby: What error do you get from?: sudo apt-get update
jamesaxl has quit [Read error: Connection reset by peer]
Dimik has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
Burgestrand has quit [Quit: Closing time!]
jamesaxl has joined #ruby
millz has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 248 seconds]
<JJBby> havenwood: i was having an error with a hexchat repository. #linux helped me a lot and got that resolved, trying to get Ruby now
<JJBby> also, why does every one look at me funny when i talk about learning ruby?
jrp93 has joined #ruby
John___ has quit [Ping timeout: 264 seconds]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
alfiemax has joined #ruby
TomyLobo has quit [Ping timeout: 272 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
ledestin has joined #ruby
stove has quit [Quit: stove]
johnzorn has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
shinnya has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
vipaca has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
mtkd has quit [Ping timeout: 264 seconds]
millz has quit [Quit: Ex-Chat]
mtkd has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has joined #ruby
jrp93 has quit [Quit: Leaving]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 265 seconds]
cdg has joined #ruby
oetjenj has joined #ruby
lostandfound has quit [Ping timeout: 260 seconds]
nso95 has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
lostandfound has joined #ruby
alfiemax has joined #ruby
Dreamer3 has joined #ruby
nso95 has quit [Changing host]
nso95 has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
lostandfound has quit [Ping timeout: 248 seconds]
JJBby has quit [Quit: WeeChat 2.0.1]
dviola has quit [Quit: WeeChat 2.0.1]
gix has joined #ruby
gix- has quit [Ping timeout: 264 seconds]
BTRE has quit [Quit: Leaving]
mtkd has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
mtkd has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troys_ is now known as troys
lostandfound has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
zwliew has quit [Quit: Connection closed for inactivity]
lostandfound has quit [Ping timeout: 272 seconds]
lostandfound has joined #ruby
vichib has quit [Remote host closed the connection]
lostandfound has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
drewmcmi_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lostandfound has joined #ruby
lostandfound has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 260 seconds]
cdg has quit [Read error: Connection reset by peer]
cdg has joined #ruby
Dimik has joined #ruby
BTRE has joined #ruby
John__ has joined #ruby
lostandfound has joined #ruby
troys is now known as troys_
nso95 has quit []
|ifei5g00d has quit [Remote host closed the connection]
bkxd has joined #ruby
bkxd has quit [Client Quit]
alfiemax has quit [Remote host closed the connection]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sparr_ has joined #ruby
alfiemax has joined #ruby
sparr_ is now known as sparr
sparr has quit [Changing host]
sparr has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
lostandfound has quit [Ping timeout: 260 seconds]
lostandfound has joined #ruby
lostandfound has quit [Ping timeout: 240 seconds]
lostandfound has joined #ruby
troys_ is now known as troys
troys is now known as troys_
lostandfound has quit [Ping timeout: 264 seconds]
troys_ is now known as troys
bkxd has joined #ruby
bkxd has quit []
bkxd has joined #ruby
troys has quit [Quit: Bye]
justicefries has joined #ruby
bkxd has quit [Client Quit]
jtdoncas has joined #ruby
rippa has joined #ruby
darkhanb has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
A124 has joined #ruby
cdg_ has joined #ruby
garyserj has joined #ruby
cdg has quit [Ping timeout: 265 seconds]
cdg_ has quit [Ping timeout: 265 seconds]
bkxd has joined #ruby
cdg has joined #ruby
cschnei__ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 260 seconds]
dviola has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neo95 has joined #ruby
cschnei__ has joined #ruby
stove has joined #ruby
nahra has quit [Remote host closed the connection]
LocaMocha has joined #ruby
cschnei__ has quit [Ping timeout: 252 seconds]
jtdoncas_ has joined #ruby
vichib has joined #ruby
jtdoncas has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
jtdoncas has joined #ruby
nahra has joined #ruby
zwliew has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
nahra has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 240 seconds]
alfiemax_ has joined #ruby
cdg has quit [Ping timeout: 265 seconds]
alfiemax has quit [Ping timeout: 268 seconds]
yeticry has joined #ruby
nahra has joined #ruby
cschnei__ has joined #ruby
John__ has quit [Ping timeout: 256 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschnei__ has quit [Ping timeout: 268 seconds]
alex`` has joined #ruby
jtdoncas has quit [Ping timeout: 260 seconds]
hotpancakes has quit []
DmitryBochkarev has joined #ruby
t0adst00l has joined #ruby
dellavg_ has joined #ruby
garyserj has quit []
cschnei__ has joined #ruby
mtkd has joined #ruby
cschnei__ has quit [Ping timeout: 248 seconds]
tamouse__ has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
claudiuinberlin has joined #ruby
Ishido has quit [Remote host closed the connection]
t0adst00l has quit [Ping timeout: 272 seconds]
Ishido has joined #ruby
Rich_Morin has quit [Quit: Rich_Morin]
neo95 has quit [Quit: Leaving]
cschnei__ has joined #ruby
bkxd has quit []
bkxd has joined #ruby
t0adst00l has joined #ruby
hogetaro has joined #ruby
conta has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
dviola has quit [Quit: WeeChat 2.0.1]
cschnei__ has quit [Ping timeout: 248 seconds]
rfoust has quit [Ping timeout: 248 seconds]
zwliew has quit [Quit: Connection closed for inactivity]
cschnei__ has joined #ruby
marr has joined #ruby
t0adst00l has quit [Ping timeout: 272 seconds]
bkxd has quit []
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
DmitryBochkarev has joined #ruby
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
bkxd has joined #ruby
bkxd has quit [Client Quit]
guardianx has joined #ruby
alex`` is now known as alexherbo2
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
guardianx has quit [Client Quit]
cschnei__ has quit [Ping timeout: 256 seconds]
cschnei__ has joined #ruby
zwliew has joined #ruby
mikecmpbll has joined #ruby
megamos has joined #ruby
apeiros has quit [Remote host closed the connection]
dellavg_ has quit [Quit: Ex-Chat]
apeiros has joined #ruby
belmoussaoui has joined #ruby
tomphp has joined #ruby
dionysus69 has joined #ruby
rrutkowski has joined #ruby
tomphp has quit [Read error: Connection reset by peer]
apeiros has quit [Ping timeout: 252 seconds]
cschnei__ has quit [Ping timeout: 248 seconds]
DmitryBochkarev has joined #ruby
tomphp has joined #ruby
cschnei__ has joined #ruby
nadir has joined #ruby
conta has quit [Ping timeout: 252 seconds]
conta has joined #ruby
drcode has joined #ruby
drcode has quit [Remote host closed the connection]
alexherbo2 has quit [Ping timeout: 272 seconds]
drcode has joined #ruby
alexherbo2 has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
alexherbo2 has quit [Ping timeout: 272 seconds]
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Remote host closed the connection]
ta_ has quit [Remote host closed the connection]
apeiros has joined #ruby
weaksauce has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
TomyLobo has joined #ruby
alexherbo2 has joined #ruby
cschnei__ has quit [Ping timeout: 265 seconds]
marr has quit [Ping timeout: 256 seconds]
ta_ has quit [Ping timeout: 260 seconds]
drcode has quit [Ping timeout: 248 seconds]
cschnei__ has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
drcode has joined #ruby
alexherbo2 has quit [Ping timeout: 272 seconds]
rrutkowski has left #ruby [#ruby]
belmoussaoui has quit [Quit: belmoussaoui]
Dimik has quit [Ping timeout: 252 seconds]
belmoussaoui has joined #ruby
belmoussaoui_ has joined #ruby
DmitryBochkarev has joined #ruby
amatas has joined #ruby
rrutkowski has joined #ruby
belmoussaoui has quit [Ping timeout: 272 seconds]
belmoussaoui_ is now known as belmoussaoui
DmitryBochkarev has quit [Client Quit]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrutkowski has quit [Client Quit]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rrutkowski has joined #ruby
megamos has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
cschnei__ has quit [Ping timeout: 240 seconds]
hogetaro has quit [Quit: Leaving...]
Yxhuvud has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 265 seconds]
cschnei__ has joined #ruby
alexherbo2 has joined #ruby
lostandfound has joined #ruby
lostandfound has quit [Ping timeout: 248 seconds]
k0mpa has quit [Remote host closed the connection]
marr has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DmitryBochkarev has joined #ruby
ta_ has joined #ruby
cschnei__ has quit [Ping timeout: 248 seconds]
rrutkowski has quit [Quit: rrutkowski]
reber has joined #ruby
gizmore has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
gizmore|2 has quit [Ping timeout: 248 seconds]
linduxed has quit [Quit: WeeChat 2.0]
linduxed has joined #ruby
drewmcmillan has joined #ruby
rrutkowski has joined #ruby
alfiemax has joined #ruby
megamos has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
gizmore|2 has joined #ruby
cschnei__ has joined #ruby
zwliew has quit [Quit: Connection closed for inactivity]
marr has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 256 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
gizmore has joined #ruby
rrutkowski has joined #ruby
gizmore|2 has quit [Ping timeout: 264 seconds]
jnyw has quit [Quit: WeeChat 2.0.1]
gizmore|2 has joined #ruby
dionysus69 has quit [Quit: dionysus69]
gizmore|3 has joined #ruby
rrutkowski has quit [Client Quit]
ta_ has joined #ruby
rrutkowski has joined #ruby
gizmore has quit [Ping timeout: 248 seconds]
gizmore has joined #ruby
gizmore|2 has quit [Ping timeout: 240 seconds]
gizmore|2 has joined #ruby
gizmore|3 has quit [Ping timeout: 264 seconds]
mikhael_k33hl has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
<mikhael_k33hl> I have a class with a constant point to a location where to create a file, how do I change it's value during test?
gizmore has joined #ruby
gizmore|3 has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gizmore|2 has quit [Ping timeout: 240 seconds]
<livcd> mikhael_k33hl: afaik you can do constant stubbing in rspec
<mikhael_k33hl> livcd: I'm using minitest though
AJA4350 has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
quobo has joined #ruby
<livcd> mikhael_k33hl: idk try this https://github.com/adammck/minitest-stub-const
<mikhael_k33hl> livcd: I'll look into that, thanks
<mikhael_k33hl> basically, I am using a singleton class that created an instance variable for database connection . . . is that evne a good practice?
cschnei__ has quit [Ping timeout: 248 seconds]
cschnei__ has joined #ruby
belmoussaoui has quit [Read error: Connection reset by peer]
drewmcmillan has joined #ruby
belmoussaoui has joined #ruby
<lupine> well, that rather depends
Gnukpd has joined #ruby
John__ has joined #ruby
Vapez has joined #ruby
murican has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
rrutkowski has left #ruby [#ruby]
mjolnird has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
Gnukpd has quit [Quit: Leaving]
mikecmpbll has joined #ruby
leitz has joined #ruby
<leitz> Is there a way to substitute one list of words for another? I have a long text and all instances of "ThisWord" should be "ThatWord"; there are about a dozen different word pair changes to be made.
<leitz> Or just run each line through a gsub!, once for each pair of words?
<apeiros> list = {"original" => "substitute", …}; after = text.gsub(Regexp.union(list.keys), list)
<apeiros> leitz: ^
<apeiros> note: this will also do e.g. with {"boots" => "shoes"} and "I have bootstrapped this" turn it into "I have shoesstrapped this"
<apeiros> i.e. you may want to add some guarding, depending on what exactly you want to do.
<leitz> apeiros, thanks! Keys should be fairly unique, they are planet names.
<leitz> And where I misselled a character's name. :)
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
justicefries has joined #ruby
murican has quit [Quit: murican]
k0mpa has joined #ruby
ta_ has quit [Remote host closed the connection]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<livcd> Is the well grounded rubyist book worth buying ?
ta_ has joined #ruby
rrutkowski has joined #ruby
jnollette has quit [Remote host closed the connection]
jnollette has joined #ruby
ta_ has quit [Ping timeout: 260 seconds]
minimalism has quit [Quit: minimalism]
justicefries has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #ruby
LocaMocha has quit [Ping timeout: 248 seconds]
rrutkowski_ has joined #ruby
rrutkowski has quit [Ping timeout: 240 seconds]
Hawkv has joined #ruby
Hawkv has quit [Client Quit]
<havenwood> livcd: yes
gizmore has joined #ruby
rrutkowski_ has quit [Quit: rrutkowski_]
gizmore|3 has quit [Ping timeout: 252 seconds]
rrutkowski has joined #ruby
DLSteve has joined #ruby
<leitz> livcd, make sure it is right for your level of skill. https://gist.github.com/baweaver/57a7c8296ca2c03effbd8fac1e7f6b40
mjolnird has quit [Remote host closed the connection]
cschnei__ has quit [Ping timeout: 240 seconds]
sameerynho has joined #ruby
cschnei__ has joined #ruby
<havenwood> livcd: and it's worth bothering to get the most recent addition so you have less to catch up on
* leitz is still using pre Ruby 2.0 books.
<leitz> If you are going to use recent versions of Ruby then yeah, get the newest version of the book(s) you can afford. I think POODR will be coming out with an update later in 2018.
<leitz> apeiros, thanks! I've been playing with your gsub solution and it works for a test case. Need to put it to real use.
gizmore|2 has joined #ruby
rfoust has joined #ruby
cdg has joined #ruby
gizmore has quit [Ping timeout: 272 seconds]
code_zombie has joined #ruby
cdg has quit [Ping timeout: 256 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
Ltem has joined #ruby
chocoelho has joined #ruby
gizmore has joined #ruby
rrutkowski_ has joined #ruby
gizmore|2 has quit [Ping timeout: 265 seconds]
rrutkowski has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
rrutkowski_ has quit [Client Quit]
rrutkowski has joined #ruby
chocoelho has quit [Quit: chocoelho]
rrutkowski has quit [Client Quit]
gizmore|2 has joined #ruby
rrutkowski has joined #ruby
gizmore|3 has joined #ruby
cschnei__ has quit [Ping timeout: 272 seconds]
gizmore has quit [Ping timeout: 248 seconds]
gizmore has joined #ruby
rrutkowski has quit [Client Quit]
gizmore|2 has quit [Ping timeout: 256 seconds]
gizmore|2 has joined #ruby
rrutkowski has joined #ruby
lostandfound has joined #ruby
gizmore|4 has joined #ruby
gizmore5 has joined #ruby
gizmore|3 has quit [Ping timeout: 272 seconds]
KeyJoo has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
gizmore|2 has quit [Ping timeout: 256 seconds]
lostandfound has quit [Ping timeout: 248 seconds]
gizmore|4 has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
clemens3 has joined #ruby
gizmore has joined #ruby
tamouse__ has joined #ruby
alfiemax has quit [Remote host closed the connection]
rrutkowski_ has joined #ruby
gizmore5 has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
rrutkowski has quit [Ping timeout: 272 seconds]
gizmore has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
cdg_ has joined #ruby
cschnei__ has joined #ruby
cdg__ has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
cdg_ has quit [Ping timeout: 252 seconds]
troys has joined #ruby
troulouliou_div2 has joined #ruby
cdg__ has quit [Ping timeout: 252 seconds]
DmitryBochkarev has joined #ruby
cdg has joined #ruby
alfiemax has quit [Remote host closed the connection]
cdg_ has joined #ruby
cdg_ has quit [Remote host closed the connection]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 265 seconds]
NightMonkey has quit [Quit: ZNC - http://znc.in]
alfiemax has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
millz has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
alexherbo2 has quit [Quit: WeeChat 2.0.1]
alfiemax has quit [Remote host closed the connection]
NightMonkey has joined #ruby
apeiros__ has joined #ruby
rrutkowski_ has quit [Quit: rrutkowski_]
apeiros has quit [Read error: Connection reset by peer]
LocaMocha has joined #ruby
jeffreylevesque has quit [Read error: Connection reset by peer]
tamouse__ has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
rrutkowski has joined #ruby
apeiros__ has quit [Ping timeout: 268 seconds]
madhatter has joined #ruby
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
psychicist__ has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
howdoi has joined #ruby
orbyt_ has joined #ruby
alfiemax has joined #ruby
apeiros has joined #ruby
<leitz> Style question. If the program takes an option, and the opt.on runs a method that opens a file, should the "file not found" exception be in the opt.on or the method?
lostandfound has joined #ruby
alfiemax has quit [Remote host closed the connection]
nchambers is now known as NewYear
NewYear is now known as NewYears
alfiemax has joined #ruby
chocoelho has joined #ruby
chocoelho has quit [Client Quit]
code_zombie has quit [Quit: Leaving]
troys is now known as troys_
xco has joined #ruby
<xco> hi. String#intern and String#to_sym do EXACTLY they same thing, why does Ruby have two methods doing the same thing?
<al2o3-cr> xco: possible aliases?
dviola has joined #ruby
<al2o3-cr> xco: you'll be surprised at how many there is.
<leitz> xco, al2o3-cr is right. Ruby is widely used where people speak different languages. While most of the key words are in English there are a lot of aliases to make things easier for a global audience.
<href> +k
<xco> leitz: i was just going to ask WHY we need aliases for method names. what’s the difference between #to_sym and #intern to a Mandarin speaker?
<xco> they could both be treated as english words, which all Ruby keywords are anyway
remix2000 has quit [Ping timeout: 268 seconds]
<leitz> xco, there are a lot of aliases. As far as I can tell they are to make things easier for the programmer. I tend to pick one and stick with it, but I'm not a Ruby expert.
<leitz> So, "why" seems to be "to make it easier".
<xco> leitz: right
<xco> i’ll have to accept that
<leitz> xco, what issue does it cause?
<xco> confusion
<leitz> How so?
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikhael_k33hl has quit [Ping timeout: 260 seconds]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
troys_ is now known as troys
daed_ is now known as daed
<millz> xco, aliases give alot of flexibility
daed has quit [Changing host]
daed has joined #ruby
Mikasi has joined #ruby
* leitz thinks he's pretty cool: ruby 2.6.0dev (2017-12-27 trunk 61495) [x86_64-linux]
alfiemax has quit [Remote host closed the connection]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alex`` has joined #ruby
justicefries has joined #ruby
aesthetikx has quit [Ping timeout: 272 seconds]
aesthetikx has joined #ruby
naprimer has quit [Read error: Connection reset by peer]
yurko has joined #ruby
alfiemax has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
<havenwood> xco: Folk coming from different schools of language look for different keywords and Matz wanted them to easily find what they're looking for.
<xco> havenwood: well this makes more sense. thank you
<havenwood> xco: Someone coming from Smalltalk would expect "symbol" where many other languages call them "interned strings".
<havenwood> Or "atoms"
rrutkowski has quit [Ping timeout: 240 seconds]
psychicist__ has quit [Read error: Connection reset by peer]
nofxx has joined #ruby
nofxx has quit [Remote host closed the connection]
<havenwood> xco: A bunch of the aliases are the Smalltalk versus Lispy/functional name for the thing.
<havenwood> Like collect and select (Smalltalk) versus map and find (Lisp).
<havenwood> etc etc
<havenwood> detect*
<havenwood> Ruby doesn't have filter *yet*.
<xco> with this thought of “accommodating” different language backgrounds i think it even wise. i won’t question aliases in ruby anymore. didn’t see the sense until now
<millz> In my own classes that I use for various projects, I'll use aliases to fit the dsl of whatever I might use it in
vipaca has joined #ruby
psychicist__ has joined #ruby
rrutkowski has joined #ruby
<xco> i’m reading Ruby Cookbook and it’s claiming this “the hash valuse of a symbol is simply its ojbect ID.” so i did this h = :string and then puts h.hash, puts h.object_id. i got -2900118750444978704 and 276508. why did the book make this clame?
<xco> claim***
gf3 has quit [Ping timeout: 252 seconds]
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gf3 has joined #ruby
lostandfound has quit [Ping timeout: 272 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
vichib has quit [Remote host closed the connection]
dionysus69 has joined #ruby
hightower3 has joined #ruby
alfiemax_ has joined #ruby
drewmcmillan has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
reber has quit [Remote host closed the connection]
alfiemax_ has quit [Ping timeout: 256 seconds]
naprimer has joined #ruby
randomstrangerb has quit [Ping timeout: 256 seconds]
belmoussaoui has quit [Quit: belmoussaoui]
randomstrangerb has joined #ruby
alfiemax has joined #ruby
al2o3-cr has joined #ruby
lostandfound has joined #ruby
cdg_ has quit [Remote host closed the connection]
cdg has joined #ruby
camonz has joined #ruby
konsolebox has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 276 seconds]
camonz has quit [Quit: Linkinus - http://linkinus.com]
konsolebox has joined #ruby
alfiemax_ has joined #ruby
lostandfound has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
lostandfound has joined #ruby
drewmcmi_ has joined #ruby
drewmcmillan has quit [Ping timeout: 256 seconds]
conta has quit [Remote host closed the connection]
rrutkowski has quit [Quit: rrutkowski]
rrutkowski has joined #ruby
lostandfound has quit [Ping timeout: 248 seconds]
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
quobo has joined #ruby
belmoussaoui has joined #ruby
lostandfound has joined #ruby
belmoussaoui has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jtdoncas has joined #ruby
randomstrangerb has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
randomstrangerb has joined #ruby
xco has left #ruby [#ruby]
al2o3-cr has joined #ruby
lostandfound has quit [Ping timeout: 264 seconds]
SqREL has joined #ruby
pelegreno has quit [Remote host closed the connection]
Dimik has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pelegreno has joined #ruby
ta_ has joined #ruby
knight33 has joined #ruby
Vapez has quit [Ping timeout: 250 seconds]
alfiemax has joined #ruby
justicefries has joined #ruby
chocoelho has joined #ruby
chocoelho has quit [Client Quit]
knight33 has quit [Client Quit]
alfiemax_ has quit [Ping timeout: 260 seconds]
knight33 has joined #ruby
lostandfound has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
pelegreno has quit [Remote host closed the connection]
pelegreno has joined #ruby
TomyLobo2 has joined #ruby
alfiemax has quit [Remote host closed the connection]
knight33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 272 seconds]
knight33 has joined #ruby
lostandfound has quit [Ping timeout: 248 seconds]
dn` has quit [Quit: dn`]
cdg has joined #ruby
millz has quit [Ping timeout: 252 seconds]
cdg has quit [Ping timeout: 250 seconds]
megamos has quit [Ping timeout: 264 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
vichib has joined #ruby
zanshin has quit [Quit: WeeChat 1.9.1]
belmoussaoui has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jrp93 has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
rrutkowski has quit [Ping timeout: 240 seconds]
wolakkk has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
troulouliou_div2 has joined #ruby
lostandfound has joined #ruby
Vapez has joined #ruby
lostandfound has quit [Ping timeout: 240 seconds]
Pierreb has quit [Ping timeout: 256 seconds]
xco has joined #ruby
troys is now known as troys_
randomstrangerb has quit [Ping timeout: 240 seconds]
lostandfound has joined #ruby
randomstrangerb has joined #ruby
sammi` has joined #ruby
ResidentBiscuit has joined #ruby
lytol_ has quit [Read error: Connection reset by peer]
lytol_ has joined #ruby
lytol_ has quit [Remote host closed the connection]
sammi`_ has quit [Quit: Lost terminal]
meesles has joined #ruby
SqREL has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troulouliou_div2 has quit [Quit: Leaving]
raynold has joined #ruby
jtdoncas has quit [Ping timeout: 252 seconds]
weaksauce has joined #ruby
rrutkowski has joined #ruby
alfiemax has joined #ruby
justicefries has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
dinfuehr has quit [Ping timeout: 256 seconds]
rrutkowski has quit [Quit: rrutkowski]
dinfuehr has joined #ruby
rrutkowski has joined #ruby
meshsmith has joined #ruby
meshsmith has quit [Changing host]
meshsmith has joined #ruby
jamesaxl has quit [Quit: WeeChat 1.9.1]
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
Rr4sT has joined #ruby
rigby has joined #ruby
rigby has quit [Client Quit]
Ltem has quit [Quit: good night]
jtdoncas has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
rrutkowski has quit [Ping timeout: 268 seconds]
mynameisdebian has joined #ruby
<mynameisdebian> Is there a Ruby gem that uses Ruby-style syntax to insert into a MySQL (or other) database? By which I mean, instead of having to build a string "INSERT INTO people VALUES ..." I could just do "people.insert(people, values)" or something like that?
<apeiros> mynameisdebian: sequel
<apeiros> alternatively activerecord and rom (if that's still the name)
<mynameisdebian> apeiros: thanks!
<apeiros> https://github.com/jeremyevans/sequel - I tend to use it if I don't want an ORM, but it contains one too if you want.
mistergibson has quit [Quit: Leaving]
jtdoncas has quit [Ping timeout: 260 seconds]
silverdu1t has left #ruby [#ruby]
minimalism has joined #ruby
bathtub_shark has quit [Remote host closed the connection]
bathtub_shark has joined #ruby
belmoussaoui has joined #ruby
troys_ is now known as troys
eightlimbed has joined #ruby
psychicist__ has quit [Ping timeout: 264 seconds]
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
meesles has quit []
cdg has joined #ruby
ResidentBiscuit has quit []
orbyt_ has joined #ruby
cdg has quit [Ping timeout: 265 seconds]
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xco has quit [Quit: xco]
unreal has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 240 seconds]
unreal has joined #ruby
justicefries has joined #ruby
justicefries has quit [Client Quit]
jnyw has joined #ruby
selim has quit [Ping timeout: 256 seconds]
selim has joined #ruby
jtdoncas has joined #ruby
justicefries has joined #ruby
troys is now known as troys_
darkhanb has joined #ruby
ta_ has joined #ruby
randomstrangerb has quit [Ping timeout: 268 seconds]
randomstrangerb has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
justicefries has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 272 seconds]
wolakkk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
mrush has joined #ruby
chocoelho has joined #ruby
lostandfound has quit [Quit: Lost terminal]
megamos has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
sameerynho has quit [Ping timeout: 272 seconds]