havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
chalkmonster has joined #ruby
cthu| has joined #ruby
cthulchu_ has quit [Ping timeout: 245 seconds]
jhass has quit [Ping timeout: 245 seconds]
jhass has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chalkmonster has quit [Quit: WeeChat 2.6]
elphe has joined #ruby
alfiemax has joined #ruby
queip has quit [Ping timeout: 240 seconds]
ltp has quit [Ping timeout: 244 seconds]
Azure|dc is now known as Azure
murarisumit has joined #ruby
queip has joined #ruby
jenrzzz has joined #ruby
alfiemax has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
queip has quit [Ping timeout: 245 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
chalkmonster has joined #ruby
Ai9zO5AP has quit [Ping timeout: 245 seconds]
ltp has joined #ruby
queip has joined #ruby
bambanx has quit [Quit: Leaving]
chalkmonster has quit [Quit: WeeChat 2.6]
chalkmonster has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
Fernando-Basso has quit [Remote host closed the connection]
code_zombie has quit [Quit: Leaving]
jenrzzz has joined #ruby
fphilipe_ has joined #ruby
claw has quit [Ping timeout: 252 seconds]
claw has joined #ruby
<murarisumit> quit
etupat has joined #ruby
fphilipe_ has quit [Ping timeout: 245 seconds]
cthu| has quit [Ping timeout: 245 seconds]
witlesswonder is now known as HEYYOUGUYS_
HEYYOUGUYS_ is now known as witlesswonder
etupat has quit [Ping timeout: 245 seconds]
<murarisumit> exit
<murarisumit> quit
murarisumit has quit [Quit: WeeChat 2.5]
elphe has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
ramfjord has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
AJA4350 has quit [Quit: AJA4350]
ramfjord has quit [Ping timeout: 265 seconds]
juliopcrj has joined #ruby
AJA4350 has joined #ruby
x86sk has joined #ruby
drincruz has joined #ruby
jenrzzz has joined #ruby
Pip has joined #ruby
Swyper has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
alfiemax has joined #ruby
AJA4350 has quit [Quit: AJA4350]
jenrzzz has quit [Ping timeout: 240 seconds]
jio has joined #ruby
elphe has joined #ruby
postmodern has quit [Quit: Leaving]
juliopcrj has quit [Ping timeout: 265 seconds]
j416 has quit [Ping timeout: 245 seconds]
jio has left #ruby [#ruby]
alfiemax has quit [Ping timeout: 276 seconds]
j416 has joined #ruby
codefriar has joined #ruby
Swyper has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.6]
millerti has quit [Ping timeout: 240 seconds]
Swyper has quit [Remote host closed the connection]
chalkmonster has joined #ruby
drincruz has quit [Ping timeout: 240 seconds]
elphe has quit [Ping timeout: 265 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
elphe has joined #ruby
alfiemax has joined #ruby
eclm has quit [Read error: Connection reset by peer]
kotisky has quit [Ping timeout: 260 seconds]
kotisky has joined #ruby
mre- has quit [Ping timeout: 268 seconds]
greengriminal has joined #ruby
witlesswonder has quit [Quit: Leaving]
banisterfiend has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.2]
DTZUZU has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
mroutis has joined #ruby
codefriar has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mroutis has quit [Quit: leaving]
mroutis has joined #ruby
mroutis has quit [Client Quit]
brool has quit [Ping timeout: 245 seconds]
mroutis has joined #ruby
jottr__ has joined #ruby
dasher00 has quit [Ping timeout: 265 seconds]
witlesswonder has joined #ruby
jottr__ has quit [Ping timeout: 245 seconds]
mroutis has quit [Quit: leaving]
fphilipe_ has joined #ruby
mroutis has joined #ruby
ur5us_ has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
fphilipe_ has quit [Ping timeout: 240 seconds]
mroutis has quit [Quit: leaving]
mroutis has joined #ruby
alfiemax has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 276 seconds]
<mroutis> howdy)
elphe has quit [Ping timeout: 240 seconds]
donofrio has quit [Remote host closed the connection]
<havenwood> mroutis: hellooo
elphe has joined #ruby
jottr__ has joined #ruby
jenrzzz has joined #ruby
witlesswonder has quit [Quit: Leaving]
tpanarch1st_ has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
evdubs has quit [Remote host closed the connection]
jottr__ has quit [Ping timeout: 240 seconds]
evdubs has joined #ruby
sarink has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 245 seconds]
alfiemax_ has joined #ruby
queip has joined #ruby
elphe has joined #ruby
Pip_ has joined #ruby
Pip_ is now known as Guest55633
jottr__ has joined #ruby
Pip has quit [Ping timeout: 245 seconds]
alfiemax_ has quit []
jottr__ has quit [Ping timeout: 265 seconds]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
luminousnine has quit [Client Quit]
elphe has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
mre- has joined #ruby
jenrzzz has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
etupat has joined #ruby
Pip__ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
etupat has quit [Ping timeout: 240 seconds]
Guest55633 has quit [Ping timeout: 245 seconds]
_whitelogger has joined #ruby
jenrzzz has joined #ruby
kyrylo has joined #ruby
Pip has joined #ruby
Pip is now known as Guest56407
GodFather has quit [Ping timeout: 264 seconds]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
Pip__ has quit [Ping timeout: 245 seconds]
fphilipe_ has joined #ruby
xfbs has joined #ruby
mroutis has quit [Quit: leaving]
ur5us has quit [Remote host closed the connection]
Pip_ has joined #ruby
ur5us has joined #ruby
Pip_ is now known as Guest31450
postmodern has joined #ruby
Guest56407 has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
blackmesa has joined #ruby
sarink has joined #ruby
banisterfiend has quit [Ping timeout: 245 seconds]
witlesswonder has joined #ruby
witlesswonder has left #ruby [#ruby]
Pip__ has joined #ruby
Guest31450 has quit [Ping timeout: 245 seconds]
banisterfiend has joined #ruby
_whitelogger has joined #ruby
SeepingN has quit [Ping timeout: 245 seconds]
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
dinfuehr has quit [Ping timeout: 265 seconds]
dinfuehr has joined #ruby
mib_yczlud has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mib_yczlud has quit [Remote host closed the connection]
Pip__ is now known as Pip
Pip is now known as Guest98145
andikr has joined #ruby
Guest98145 has quit [Quit: Leaving]
schne1der has joined #ruby
sauvin has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
schne1der has quit [Ping timeout: 268 seconds]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Intelo has joined #ruby
Intelo has quit [Read error: Connection reset by peer]
Intelo has joined #ruby
TomyWork has joined #ruby
mre- has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
r3m has quit [Quit: WeeChat 2.7-dev]
mroutis has joined #ruby
r3m has joined #ruby
helpa has quit [Read error: Connection reset by peer]
helpa has joined #ruby
andikr has quit [Ping timeout: 245 seconds]
andikr has joined #ruby
dionysus69 has joined #ruby
c-c has joined #ruby
<c-c> Hi, I broke my nanoc
<c-c> hm, actually, maybe not...
<c-c> - Timestamp comparison for month day "125" just failed (manually inputted timestamp)
markand has joined #ruby
kyrylo has joined #ruby
mroutis has quit [Remote host closed the connection]
fphilipe_ has quit [Ping timeout: 265 seconds]
<markand> hi there
<markand> I was wondering if there is a reason why Net::HTTP* constants are not in a separate module like Net::IMAP::* for better readability
sarink_ has joined #ruby
schne1der has joined #ruby
akosednar has quit [Ping timeout: 265 seconds]
<baweaver> Net::HTTP is.... well, let's just say I tend to use alternatives
sarink has quit [Ping timeout: 265 seconds]
<markand> ^^
<markand> which ones?
BH23 has joined #ruby
<baweaver> Typhoeus is my usual
<baweaver> HTTParty is goot iirc
<baweaver> havenwood has a spreadsheet somewhere
<baweaver> Aha!
dbugger has joined #ruby
akosednar has joined #ruby
akosednar has joined #ruby
akosednar has quit [Changing host]
blackmesa has quit [Ping timeout: 264 seconds]
helpa has quit [Remote host closed the connection]
sarink_ has quit [Remote host closed the connection]
helpa-bot has joined #ruby
helpa-bot has quit [Changing host]
helpa-bot has joined #ruby
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
blackmesa has joined #ruby
jmcgnh has quit [Ping timeout: 240 seconds]
andikr has quit [Ping timeout: 245 seconds]
jmcgnh has joined #ruby
renich has joined #ruby
fphilipe_ has joined #ruby
kotisky has quit [Ping timeout: 260 seconds]
queip has quit [Ping timeout: 245 seconds]
luminousnine has quit [Ping timeout: 276 seconds]
queip has joined #ruby
xfbs has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
Ai9zO5AP has joined #ruby
jottr__ has joined #ruby
jenrzzz has joined #ruby
Tempesta has quit [Read error: Connection reset by peer]
Tempesta has joined #ruby
Tempesta has joined #ruby
Tempesta has quit [Changing host]
jenrzzz has quit [Ping timeout: 240 seconds]
MrBismuth has quit [Read error: Connection reset by peer]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
andikr has joined #ruby
bitwinery has quit [Quit: Leaving]
xfbs has joined #ruby
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
i9zO5AP has joined #ruby
andikr has quit [Ping timeout: 245 seconds]
Ai9zO5AP has quit [Ping timeout: 265 seconds]
nahra` has joined #ruby
nahra has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
fphilipe_ has joined #ruby
mre- has joined #ruby
andikr has joined #ruby
mre- has quit [Ping timeout: 268 seconds]
Fischmiep has joined #ruby
ur5us has joined #ruby
andikr has quit [Ping timeout: 240 seconds]
jottr__ has quit [Ping timeout: 245 seconds]
Fischmiep has quit [Ping timeout: 265 seconds]
Fischmiep has joined #ruby
galaxie has quit [Remote host closed the connection]
galaxie has joined #ruby
BH23 has quit [Ping timeout: 246 seconds]
DaRock has quit [Ping timeout: 265 seconds]
conta has joined #ruby
blackmesa1 has joined #ruby
chichou has joined #ruby
kabads has quit [Ping timeout: 265 seconds]
blackmesa has quit [Ping timeout: 245 seconds]
poontangmessiah has joined #ruby
kabads has joined #ruby
Swyper has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
fphilipe_ has quit [Read error: Connection reset by peer]
Swyper has quit [Remote host closed the connection]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
Fischmiep has quit [Ping timeout: 240 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
corellian has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
b0nn has quit [Remote host closed the connection]
poontangmessiah has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 265 seconds]
SkyLinx has quit []
sarink has joined #ruby
andikr has joined #ruby
sarink_ has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
queip has quit [Quit: bye, freenode]
BH23 has joined #ruby
Swyper has quit [Remote host closed the connection]
blackmesa1 has quit [Quit: WeeChat 2.6]
blackmesa has joined #ruby
mn3m has joined #ruby
Swyper has joined #ruby
za1b1tsu has joined #ruby
sarink_ has quit [Ping timeout: 245 seconds]
sarink has joined #ruby
queip has joined #ruby
sarink has quit [Read error: Connection reset by peer]
sarink has joined #ruby
conta has quit [Ping timeout: 240 seconds]
b0nn has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 245 seconds]
dionysus69 has joined #ruby
jenrzzz has joined #ruby
conta has joined #ruby
elphe has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 240 seconds]
mre- has joined #ruby
sarink has quit [Remote host closed the connection]
fphilipe_ has joined #ruby
sarink has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
etupat has joined #ruby
sarink has quit [Ping timeout: 265 seconds]
etupat has quit [Ping timeout: 268 seconds]
vondruch has quit [Ping timeout: 276 seconds]
conta has joined #ruby
sarink has joined #ruby
conta has quit [Ping timeout: 240 seconds]
conta has joined #ruby
luminousnine has quit [Ping timeout: 250 seconds]
xfbs has quit [Ping timeout: 264 seconds]
AJA4350 has joined #ruby
chalkmonster has joined #ruby
jenrzzz has joined #ruby
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
conta has quit [Quit: conta]
Fischmiep has joined #ruby
dr_mdma_md has joined #ruby
xfbs has joined #ruby
vondruch has joined #ruby
ta1 has quit [Quit: WeeChat 2.5]
ta has joined #ruby
BH23 has quit [Ping timeout: 240 seconds]
x86sk has quit [Quit: Connection closed for inactivity]
Fischmiep has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
fphilipe_ has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
luminousnine has quit [Ping timeout: 250 seconds]
xfbs has quit [Ping timeout: 246 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
luminousnine has joined #ruby
luminousnine has joined #ruby
Swyper has quit [Remote host closed the connection]
jottr__ has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
BH23 has joined #ruby
schne1der has quit [Ping timeout: 245 seconds]
jottr__ has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
xfbs has joined #ruby
fphilipe_ has joined #ruby
Fischmiep has joined #ruby
Swyper has quit [Ping timeout: 265 seconds]
fphilipe_ has quit [Read error: Connection reset by peer]
jottr__ has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yann-kaelig has joined #ruby
sarink has quit [Read error: Connection reset by peer]
Fischmiep has quit [Ping timeout: 240 seconds]
sarink has joined #ruby
luminousnine has quit [Quit: Toodles]
jottr__ has quit [Ping timeout: 245 seconds]
chalkmonster has quit [Quit: WeeChat 2.6]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
nahra`` has joined #ruby
greengriminal has joined #ruby
nahra` has quit [Ping timeout: 276 seconds]
sarink_ has joined #ruby
sarink has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
chichou has quit [Quit: WeeChat 2.6]
grilix has joined #ruby
fphilipe_ has joined #ruby
postmodern has quit [Quit: Leaving]
dasher00 has joined #ruby
Fischmiep has joined #ruby
grilix has quit [Quit: Ooops]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
nahra`` has quit [Remote host closed the connection]
nahra`` has joined #ruby
queip has quit [Ping timeout: 265 seconds]
queip has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
Toledo has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Fischmiep has quit [Ping timeout: 240 seconds]
jottr__ has joined #ruby
andikr has quit [Remote host closed the connection]
nahra``` has joined #ruby
mwlang has joined #ruby
nahra`` has quit [Ping timeout: 268 seconds]
mre- has joined #ruby
mwlang has quit [Client Quit]
jottr__ has quit [Ping timeout: 240 seconds]
akosednar has quit [Ping timeout: 245 seconds]
mre- has quit [Ping timeout: 245 seconds]
stryek has joined #ruby
akosednar has joined #ruby
akosednar has joined #ruby
akosednar has quit [Changing host]
banisterfiend has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
sarink_ has quit [Remote host closed the connection]
Intelo has quit [Read error: Connection reset by peer]
Intelo has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
galaxie has quit [Remote host closed the connection]
banisterfiend has joined #ruby
galaxie has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
greengriminal has quit [Quit: Leaving]
eclm has joined #ruby
sarink has joined #ruby
schne1der has joined #ruby
SeepingN has joined #ruby
greypack has quit [Ping timeout: 276 seconds]
nahra```` has joined #ruby
banisterfiend has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
nahra``` has quit [Ping timeout: 240 seconds]
greypack has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
lucasb has joined #ruby
tpanarch1st_ has joined #ruby
drincruz has joined #ruby
spiette has quit [Quit: ZNC 1.7.3 - https://znc.in]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spiette has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
ellcs has quit [Ping timeout: 268 seconds]
CrazyEddy has quit [Ping timeout: 246 seconds]
Intelo has quit [Ping timeout: 276 seconds]
znz_jp has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby
Rapture has joined #ruby
dhollinger has joined #ruby
codefriar has joined #ruby
lupine has quit [Ping timeout: 245 seconds]
dhollinger has quit [Client Quit]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollinger has joined #ruby
lupine has joined #ruby
markopasha has joined #ruby
Fusl has quit [Max SendQ exceeded]
znz_jp has joined #ruby
Fusl has joined #ruby
akemacer has quit [Quit: Leaving]
clemens3 has joined #ruby
etupat has joined #ruby
shtirlic has quit [Quit: ZNC - http://znc.in]
etupat has quit [Remote host closed the connection]
chalkmonster has joined #ruby
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
shtirlic has joined #ruby
schne1der has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
Intelo has joined #ruby
etupat has joined #ruby
jenrzzz has joined #ruby
mre- has joined #ruby
mre- has quit [Ping timeout: 245 seconds]
sarink has quit [Remote host closed the connection]
codefriar has quit [Ping timeout: 265 seconds]
sarink has joined #ruby
sarink has quit [Remote host closed the connection]
sarink has joined #ruby
codefriar has joined #ruby
akem-lnvo has quit [Ping timeout: 265 seconds]
etupat has quit [Remote host closed the connection]
rippa has joined #ruby
sarink has quit [Ping timeout: 245 seconds]
TomyWork has quit [Ping timeout: 246 seconds]
mre- has joined #ruby
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
cyclonis has joined #ruby
brool has joined #ruby
dretnx has joined #ruby
codefriar has quit [Ping timeout: 265 seconds]
greengriminal has joined #ruby
sarink has joined #ruby
etupat has joined #ruby
codefriar has joined #ruby
sarink has quit [Remote host closed the connection]
smurfendrek123 has joined #ruby
millerti has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
sarink has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Technodrome has joined #ruby
sarink has quit [Remote host closed the connection]
davidw_ has joined #ruby
clemens3 has quit [Ping timeout: 268 seconds]
fphilipe has joined #ruby
fphilipe_ has quit [Ping timeout: 265 seconds]
dr_mdma_md has quit []
queip has quit [Ping timeout: 240 seconds]
queip has joined #ruby
dr_mdma_md has joined #ruby
vondruch_ has joined #ruby
vondruch has quit [Ping timeout: 245 seconds]
vondruch_ is now known as vondruch
blackmesa has joined #ruby
etupat has quit [Remote host closed the connection]
xco has joined #ruby
<xco> is there a better way to write this? https://gist.github.com/xcobar/96273f6a158a4c1e1574640372925307
corellian has quit [Quit: leaving]
<xco> i’m more concerned about the “x” arg part, is there a better way to do it?
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
<leftylink> I see. what about |(num, name)| or something like that instead?
<havenwood> xco: puts array.map { |a, b| [a, ' ', b].join }
<havenwood> xco: puts array.map { |values| values.join ' ' }
etupat has quit [Remote host closed the connection]
<havenwood> xco: puts array.map { |a, b| "#{a} #{b}" }
<xco> havenwood: thanks. i was actually hoping you would respond specifically!! so i can ask you about the |a, b| arg naming style!!
<xco> cause i knew you’d do that :P
<xco> sso the quesstion is
<xco> i’m assuming you can’t use the |a,b| naming style which #each what if i wanted to use each and still use the |a,b| naming style?
<xco> how do i do that?
xco has left #ruby [#ruby]
xco has joined #ruby
<NL3limin4t0r> xco: you can also use it in #each
markopasha has quit [Remote host closed the connection]
etupat has joined #ruby
markopasha has joined #ruby
<NL3limin4t0r> It's array decomposition in combination with block parameter assignment
<NL3limin4t0r> &>> [[2, "Hulk"], [3, "Batman"]].each { |a, b| puts "#{a} #{b}" }
<rubydoc> # => 2 Hulk... check link for more (https://carc.in/#/r/7mup)
cyclonis has quit [Read error: Connection reset by peer]
<NL3limin4t0r> ^ only the first line printed is returned here, for the others click the link
cyclonis has joined #ruby
<xco> nice!
<xco> NL3limin4t0r: thanks ;)
BH23 has quit [Ping timeout: 265 seconds]
<NL3limin4t0r> If there is only one argument provided to a block, and that block has a comma in the block arguments array decomposition is used.
etupat has quit [Ping timeout: 240 seconds]
<NL3limin4t0r> If there is more than one argument you need to use parentheses.
<NL3limin4t0r> for example #each_with_index
<NL3limin4t0r> &>> [[2, "Hulk"], [3, "Batman"]].each_with_index { |a, b| "#{a} #{b}" }
<rubydoc> # => [[2, "Hulk"], [3, "Batman"]] (https://carc.in/#/r/7muq)
<NL3limin4t0r> &>> [[2, "Hulk"], [3, "Batman"]].each_with_index { |a, b| puts "#{a} #{b}" }
<rubydoc> # => [2, "Hulk"] 0... check link for more (https://carc.in/#/r/7mur)
<NL3limin4t0r> doesn't hold op like you can see
sarink has joined #ruby
<NL3limin4t0r> &>> [[2, "Hulk"], [3, "Batman"]].each_with_index { |(a, b)| puts "#{a} #{b}" }
<rubydoc> # => 2 Hulk... check link for more (https://carc.in/#/r/7mus)
mn3m has quit [Ping timeout: 240 seconds]
Rapture has joined #ruby
etupat has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
<NL3limin4t0r> The brackets are needed to say that you want to use array decomposition for the first argument, since the second argument is the index. This is implicitly done for blocks that are passed one argument.
blackmesa1 has joined #ruby
fphilipe has quit [Read error: Connection reset by peer]
cyclonis_ has joined #ruby
mn3m has joined #ruby
cyclonis has quit [Ping timeout: 265 seconds]
cthu| has joined #ruby
mre- has quit [Ping timeout: 265 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
mre- has joined #ruby
dinfuehr has quit [Ping timeout: 245 seconds]
Intelo has quit [Ping timeout: 268 seconds]
dinfuehr has joined #ruby
Intelo has joined #ruby
mre- has quit [Ping timeout: 245 seconds]
markopasha has quit [Remote host closed the connection]
queip has quit [Ping timeout: 245 seconds]
queip has joined #ruby
markopasha has joined #ruby
crova has joined #ruby
xco has quit [Quit: xco]
dretnx has quit [Ping timeout: 268 seconds]
dretnx has joined #ruby
xco has joined #ruby
cyclonis_ has quit [Read error: Connection reset by peer]
cyclonis has joined #ruby
<crova> Greetings everyone, how is it going? I'm trying to create a gem to wrap a third party API I use a lot but I'm struggling with a test. https://gist.github.com/crova/558d117c4f993921467ce2864cc3e87a All tests passes except the last one. What I don't understand is why the test fails even though if I open the console and reproduce the same steps as the test, it works (I get an @user_id of -1). Could somebody shed any light on this?
Arahael has quit [Ping timeout: 240 seconds]
mre- has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
jenrzzz has joined #ruby
mre- has joined #ruby
Intelo has quit [Remote host closed the connection]
blackmesa has joined #ruby
Intelo has joined #ruby
blackmesa1 has quit [Ping timeout: 246 seconds]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 276 seconds]
Intelo has quit [Read error: Connection reset by peer]
Freshnuts has joined #ruby
etupat has quit [Ping timeout: 252 seconds]
sarink has quit [Remote host closed the connection]
etupat has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
crova has quit [Ping timeout: 245 seconds]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
Intelo has joined #ruby
Emmanuel_Chanel has joined #ruby
akemacer has joined #ruby
mn3m has quit [Quit: mn3m]
nahra```` has quit [Quit: ERC (IRC client for Emacs 26.2)]
nahra has joined #ruby
<leftylink> too bad, left
<leftylink> but the problem looks very understandable, right? that is an instance method and not defined at the main, right? so the error makes sense
crova has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
dretnx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
hightower2 has joined #ruby
sarink has joined #ruby
al2o3-cr has joined #ruby
sarink has quit [Ping timeout: 240 seconds]
Intelo has quit [Read error: Connection reset by peer]
<al2o3-cr> sup yo!
Intelo has joined #ruby
queip has quit [Ping timeout: 240 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
queip has joined #ruby
Intelo has quit [Remote host closed the connection]
Intelo has joined #ruby
cc_ has joined #ruby
etupat has joined #ruby
markopasha has quit [Ping timeout: 240 seconds]
dr_mdma_md has quit [Quit: Connection closed for inactivity]
d^sh has quit [Ping timeout: 246 seconds]
d^sh has joined #ruby
etupat has quit [Ping timeout: 268 seconds]
Intelo has quit [Read error: Connection reset by peer]
xco has quit [Quit: xco]
yann-kaelig has quit [Quit: yann-kaelig]
queip has quit [Ping timeout: 245 seconds]
xco has joined #ruby
Intelo has joined #ruby
sauvin has quit [Ping timeout: 240 seconds]
etupat has joined #ruby
SeepingN has joined #ruby
queip has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
blackmesa has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
dr_mdma_md has joined #ruby
jenrzzz has joined #ruby
blackmesa1 has joined #ruby
cc__ has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
mre- has joined #ruby
cyclonis has quit [Read error: Connection reset by peer]
cyclonis has joined #ruby
cyclonis has quit [Max SendQ exceeded]
cc_ has quit [Ping timeout: 265 seconds]
reyfi9e has quit [Ping timeout: 250 seconds]
Intelo has quit [Read error: Connection reset by peer]
Intelo has joined #ruby
cyclonis has joined #ruby
Intelo has quit [Read error: Connection reset by peer]
salinasc has joined #ruby
Intelo has joined #ruby
Intelo has quit [Read error: Connection reset by peer]
NL3limin4t0r is now known as NL3limin4t0r_afk
salinasc has quit [Ping timeout: 240 seconds]
queip_ has joined #ruby
queip has quit [Ping timeout: 276 seconds]
queip_ is now known as queip
sarink has joined #ruby
cc__ has quit [Remote host closed the connection]
greengriminal has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
gix has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Fusl has quit [Max SendQ exceeded]
ramfjord has joined #ruby
sarink has quit [Remote host closed the connection]
Fusl has joined #ruby
queip has quit [Ping timeout: 245 seconds]
cd has joined #ruby
queip has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
reyfi9e has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
gnufr33d0m has joined #ruby
thomas_25 has quit [Quit: FreeZNC - Visit us! Server: irc.freenode.org Channel: #bnc4you]
Freshnuts has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Intelo has joined #ruby
cyclonis has quit [Quit: -a- Connection Timed Out]
cyclonis has joined #ruby
cyclonis has quit [Max SendQ exceeded]
ramfjord has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
cyclonis has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
cyclonis_ has joined #ruby
ramfjord_ has joined #ruby
greengriminal has joined #ruby
xco has quit [Quit: xco]
cyclonis has quit [Ping timeout: 240 seconds]
thomas_25 has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
Frobozz has quit [Read error: Connection reset by peer]
gnufr33d0m has quit [Quit: gnufr33d0m]
gnufied has joined #ruby
cyclonis_ has quit [Read error: Connection reset by peer]
cyclonis has joined #ruby
ur5us has joined #ruby
dbugger has quit [Ping timeout: 264 seconds]
wildtrees has joined #ruby
gnufr33d0m has joined #ruby
mroutis has joined #ruby
schne1der has quit [Ping timeout: 265 seconds]
etupat has quit [Remote host closed the connection]
xco has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Frobozz has joined #ruby
Milos has quit [Quit: ZNC 1.7.4 - https://znc.in]
elphe has quit [Ping timeout: 276 seconds]
blackmesa1 has quit [Ping timeout: 252 seconds]
Milos has joined #ruby
jenrzzz has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
xco has quit [Quit: xco]
blackmesa1 has joined #ruby
bambanx has joined #ruby
Fernando-Basso has joined #ruby
Frobozz has quit [Read error: Connection reset by peer]
mroutis has left #ruby [#ruby]
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
davidw_ has quit [Ping timeout: 265 seconds]
crova has quit [Remote host closed the connection]
etupat has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
davidw_ has joined #ruby
dhollinger has quit [Quit: dhollinger]
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
Technodrome has quit [Quit: Textual IRC Client: www.textualapp.com]
Fernando-Basso has quit [Read error: Connection reset by peer]
elphe has joined #ruby
drincruz has quit [Read error: No route to host]
elphe has quit [Ping timeout: 240 seconds]
ns5 has joined #ruby
mroutis has joined #ruby
ramfjord_ has quit [Ping timeout: 276 seconds]
ellcs has joined #ruby
ramfjord has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mroutis has quit [Quit: leaving]
dr_mdma_md has quit []
mre- has quit [Ping timeout: 240 seconds]
dasher00 has quit [Ping timeout: 265 seconds]
jottr__ has joined #ruby
blackmesa1 has quit [Ping timeout: 246 seconds]
i9zO5AP has quit [Ping timeout: 265 seconds]
ellcs has quit [Ping timeout: 245 seconds]
SeepingN has joined #ruby
blackmesa1 has joined #ruby
i9zO5AP has joined #ruby
greengriminal has quit [Quit: This computer has gone to sleep]
jottr__ has quit [Ping timeout: 240 seconds]
danielvu1 has joined #ruby
beanie__ has joined #ruby
Swyper has joined #ruby
tpanarch1st_ has quit [Ping timeout: 240 seconds]
ramfjord has quit [Ping timeout: 265 seconds]
nixy6 is now known as nixy
kyrylo has joined #ruby
etupat has quit [Remote host closed the connection]
etupat has joined #ruby
Azure has joined #ruby
etupat has quit [Ping timeout: 265 seconds]
etupat has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
blackmesa1 has quit [Ping timeout: 246 seconds]
stryek has quit [Quit: Connection closed for inactivity]
krillbat is now known as mosfet
ramfjord has joined #ruby
jottr__ has joined #ruby
mosfet has quit [Quit: Updating details, brb]
mosfet has joined #ruby
jenrzzz has joined #ruby
mosfet has quit [Client Quit]
mosfet has joined #ruby
mosfet has quit [Client Quit]
krl has joined #ruby
krl has quit [Client Quit]
postmodern has joined #ruby
mre- has joined #ruby
jottr__ has quit [Ping timeout: 245 seconds]
eclm has quit [Read error: Connection reset by peer]
nahra` has joined #ruby
nahra has quit [Ping timeout: 265 seconds]
Technodrome has joined #ruby
wildtrees has quit [Quit: Leaving]