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
nso95 has joined #ruby
tcopeland has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
schneide_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
guacamole has quit [Client Quit]
cschneid has quit [Remote host closed the connection]
oleo has quit [Ping timeout: 276 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
guacamole has quit [Client Quit]
elphe has joined #ruby
cdg has quit [Remote host closed the connection]
schneide_ has joined #ruby
cdg has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 248 seconds]
WA9ACE has quit [Read error: Connection reset by peer]
WA9ACE_ has joined #ruby
raul782 has joined #ruby
guille-moe has joined #ruby
hahuang61 has quit [Ping timeout: 256 seconds]
milardovich has joined #ruby
hahuang61 has joined #ruby
bronson has joined #ruby
schneide_ has joined #ruby
x77686d has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
jnollette has quit [Remote host closed the connection]
eckhardt has joined #ruby
pastorinni has joined #ruby
schneide_ has quit [Ping timeout: 264 seconds]
jnollette has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has quit []
schneide_ has joined #ruby
dviola has quit [Quit: WeeChat 2.0.1]
wndxlori has joined #ruby
chaos95 has joined #ruby
guacamole has joined #ruby
schneide_ has quit [Ping timeout: 256 seconds]
ianbrown78 has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit []
sanscoeur has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has quit [Quit: Leaving.]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
vutral|kali has quit [Ping timeout: 240 seconds]
cschneid has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
nchambers is now known as DrZoidberg
workmad3 has quit [Ping timeout: 248 seconds]
hahuang61 has quit [Ping timeout: 256 seconds]
eckhardt has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang61 has joined #ruby
roshanavand has quit [Ping timeout: 256 seconds]
bmurt has joined #ruby
roshanavand has joined #ruby
selim has quit [Ping timeout: 256 seconds]
blackmesa has joined #ruby
sanscoeur has quit [Remote host closed the connection]
guille-moe has quit [Ping timeout: 248 seconds]
blackmesa1 has quit [Ping timeout: 256 seconds]
WA9ACE_ has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
blackmesa has quit [Client Quit]
selim has joined #ruby
DrZoidberg is now known as nchambers
cagomez has quit [Read error: Connection reset by peer]
pastorinni has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Read error: Connection reset by peer]
sanscoeur has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
pastorinni has joined #ruby
mtkd has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
pecpec has quit [Quit: Leaving...]
ta_ has quit [Remote host closed the connection]
cagomez has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
milardovich has joined #ruby
alfiemax has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
ahrs has quit [Read error: Connection reset by peer]
randomstrangerb has quit [Ping timeout: 268 seconds]
shinnya has quit [Ping timeout: 240 seconds]
randomstrangerb has joined #ruby
ahrs has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 240 seconds]
x77686d has quit [Quit: x77686d]
schneide_ has quit [Ping timeout: 264 seconds]
John_Ivan has quit [Read error: Connection reset by peer]
krawchyk has joined #ruby
k0mpa has quit [Remote host closed the connection]
orbyt_ has joined #ruby
schneide_ has joined #ruby
marr has quit [Ping timeout: 248 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raynold has quit [Quit: Connection closed for inactivity]
arescorpio has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
AJA4350 has quit [Quit: AJA4350]
quobo has quit [Quit: Connection closed for inactivity]
cschneid has joined #ruby
bmurt has joined #ruby
kryptoz has joined #ruby
kryptoz has quit [Remote host closed the connection]
ianbrown78 has quit [Remote host closed the connection]
pastorinni has quit [Remote host closed the connection]
kryptoz has joined #ruby
sanscoeur has quit [Remote host closed the connection]
schneide_ has joined #ruby
ta_ has joined #ruby
sanscoeur has joined #ruby
kryptoz has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 240 seconds]
schneide_ has quit [Ping timeout: 248 seconds]
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #ruby
sanscoeur has quit [Ping timeout: 248 seconds]
x77686d has quit [Quit: x77686d]
schneide_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 248 seconds]
Matthew1 has joined #ruby
veduardo_ has joined #ruby
veduardo_ is now known as veduardo
pastorinni has quit [Remote host closed the connection]
cagomez has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
AJA4350 has joined #ruby
ta_ has joined #ruby
veduardo has quit [Quit: WeeChat 1.9.1]
cagomez has quit [Ping timeout: 240 seconds]
veduardo has joined #ruby
Psybur__ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has joined #ruby
ta_ has quit [Ping timeout: 248 seconds]
schneide_ has quit [Ping timeout: 240 seconds]
cschneid has quit [Remote host closed the connection]
orbyt_ has joined #ruby
veduardo has quit [Quit: WeeChat 1.9.1]
xhoy has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
xhoy has joined #ruby
hahuang61 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
cagomez has joined #ruby
nso95 has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
c0ncealed has quit [Remote host closed the connection]
cschneid has joined #ruby
c0ncealed has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 248 seconds]
cadillac_ has quit [Ping timeout: 246 seconds]
ta_ has quit [Ping timeout: 240 seconds]
thejamespinto has quit [Remote host closed the connection]
gizmore|2 has joined #ruby
hahuang62 has joined #ruby
Matthew1 has quit [Ping timeout: 248 seconds]
ta_ has joined #ruby
pastorinni has joined #ruby
Psybur__ has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 240 seconds]
cagmz_ has quit [Quit: Leaving]
x77686d has joined #ruby
sameerynho has quit [Ping timeout: 260 seconds]
kryptoz has joined #ruby
workmad3 has joined #ruby
bmurt has joined #ruby
krawchyk has quit [Quit: krawchyk]
krawchyk has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
hahuang62 has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
m27frogy has quit [Quit: ZNC - http://znc.in]
Guest29 has joined #ruby
hahuang62 has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 260 seconds]
pastorinni has quit [Remote host closed the connection]
cdg has joined #ruby
krawchyk has quit [Quit: krawchyk]
schneide_ has joined #ruby
hahuang62 has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 240 seconds]
Azure has quit [Read error: Connection reset by peer]
hahuang62 has joined #ruby
schneide_ has quit [Ping timeout: 256 seconds]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 240 seconds]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has joined #ruby
cdg has joined #ruby
bmurt has joined #ruby
elphe has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
bmurt has quit [Client Quit]
Azure has joined #ruby
ta_ has joined #ruby
krawchyk has joined #ruby
bronson has joined #ruby
darkhanb has joined #ruby
pastorinni has joined #ruby
bmurt has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 264 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has quit [Read error: Connection reset by peer]
eckhardt has joined #ruby
coderphive has quit [Ping timeout: 246 seconds]
sleetdrop has joined #ruby
arescorpio has quit [Quit: Leaving.]
WA9ACE has joined #ruby
elphe has joined #ruby
WA9ACE is now known as Guest9847
ta_ has joined #ruby
coderphive has joined #ruby
DTZUZU has joined #ruby
govg has joined #ruby
pastorinni has quit [Remote host closed the connection]
milardovich has quit []
ta_ has quit [Ping timeout: 240 seconds]
Radar has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
vichib has quit [Ping timeout: 240 seconds]
phate408 has quit [Remote host closed the connection]
Radar has joined #ruby
cagomez has joined #ruby
Radar has quit [Remote host closed the connection]
sleetdrop has quit [Quit: Computer has gone to sleep.]
sleetdrop has joined #ruby
Radar has joined #ruby
vichib has joined #ruby
<Radar> Sorry about all the quitting + rejoining. Sorting out new ZNC config.
ta_ has joined #ruby
sleetdrop has quit [Client Quit]
coderphive has quit [Ping timeout: 256 seconds]
schneide_ has joined #ruby
coderphive has joined #ruby
helpa has joined #ruby
helpa has quit [Remote host closed the connection]
schneide_ has quit [Ping timeout: 240 seconds]
krawchyk has quit [Quit: krawchyk]
helpa has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
Guest29 has joined #ruby
elphe has quit [Ping timeout: 240 seconds]
helpa has quit [Remote host closed the connection]
elphe has joined #ruby
m27frogy has joined #ruby
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
trautwein has joined #ruby
bmurt has joined #ruby
gix has joined #ruby
bronson has joined #ruby
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gix- has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Quit: AJA4350]
ta_ has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby
c0ncealed has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 240 seconds]
c0ncealed has joined #ruby
kryptoz has quit [Remote host closed the connection]
cagomez has quit [Remote host closed the connection]
workmad3 has joined #ruby
ta_ has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
banisterfiend has joined #ruby
schneide_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 248 seconds]
oleo has quit [Remote host closed the connection]
cschneid has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 240 seconds]
kryptoz has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
gr has quit [Ping timeout: 248 seconds]
schneide_ has quit [Ping timeout: 240 seconds]
pastorinni has joined #ruby
ta_ has joined #ruby
nowhereman_ has joined #ruby
eckhardt has quit [Quit: Textual IRC Client: www.textualapp.com]
nowhere_man has quit [Ping timeout: 256 seconds]
schneide_ has joined #ruby
<ReinH> Radar: could u not
jtdoncas_ has quit [Ping timeout: 256 seconds]
pastorinni has quit [Remote host closed the connection]
schneide_ has quit [Ping timeout: 268 seconds]
ta_ has quit [Ping timeout: 268 seconds]
pastorinni has joined #ruby
Guest29 has joined #ruby
kryptoz has quit [Remote host closed the connection]
kryptoz has joined #ruby
schneide_ has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kryptoz has quit [Ping timeout: 248 seconds]
dinfuehr has joined #ruby
ta_ has joined #ruby
bronson has joined #ruby
schneide_ has quit [Ping timeout: 260 seconds]
ta_ has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 260 seconds]
x77686d has quit [Quit: x77686d]
x77686d has joined #ruby
raynold has joined #ruby
schneide_ has joined #ruby
ta_ has joined #ruby
Guest29 has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
apeiros has quit [Remote host closed the connection]
ur5us has joined #ruby
ta_ has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
levifig has quit [Ping timeout: 240 seconds]
x77686d has quit [Quit: x77686d]
cdg has joined #ruby
pastorinni has quit [Remote host closed the connection]
minimalism has joined #ruby
troys has quit [Quit: Bye]
schneide_ has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 252 seconds]
ta_ has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
armyriad has joined #ruby
tvw has joined #ruby
alfiemax_ has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
justinfaler2 has quit [Ping timeout: 256 seconds]
ta_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
tens0r has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
LocaMocha has joined #ruby
LocaMocha has quit [Max SendQ exceeded]
mtkd has joined #ruby
bronson has joined #ruby
alfiemax has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
apeiros has joined #ruby
tensor-dev has joined #ruby
aupadhye has joined #ruby
Dimik has joined #ruby
tens0r has quit [Ping timeout: 240 seconds]
tensor-dev is now known as tens0r
LocaMocha has joined #ruby
LocaMocha has quit [Max SendQ exceeded]
Psybur has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
LocaMocha has joined #ruby
klaas has joined #ruby
Psybur has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
x77686d has joined #ruby
dogweather has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
aupadhye has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
pfg has quit [Ping timeout: 265 seconds]
galeido has quit [Ping timeout: 265 seconds]
pfg has joined #ruby
hahuang62 has quit [Quit: WeeChat 2.0.1]
vondruch has quit [Client Quit]
alfiemax has quit [Remote host closed the connection]
vondruch has joined #ruby
conta has joined #ruby
raggi has joined #ruby
dionysus69 has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
jnyw has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
darkhanb has joined #ruby
dogweather has joined #ruby
ur5us has joined #ruby
norayr has joined #ruby
venmx has joined #ruby
norayr has left #ruby [#ruby]
alfiemax has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
amatas has joined #ruby
darkhanb_ has joined #ruby
alfiemax has joined #ruby
ur5us has quit [Ping timeout: 248 seconds]
darkhanb has quit [Ping timeout: 240 seconds]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 248 seconds]
Guest29 has joined #ruby
Guest29 has quit [Client Quit]
ta_ has joined #ruby
jenrzzz has joined #ruby
andikr has joined #ruby
aupadhye has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
Guest29 has joined #ruby
dogweather has quit [Ping timeout: 264 seconds]
cdg has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
volix has quit [Ping timeout: 256 seconds]
cdg has quit [Ping timeout: 252 seconds]
elphe has quit [Ping timeout: 240 seconds]
volix has joined #ruby
elphe has joined #ruby
yohji has joined #ruby
aufi has joined #ruby
r3kz has quit [Quit: Connection closed for inactivity]
claudiuinberlin has joined #ruby
TomyWork has joined #ruby
alfiemax_ has joined #ruby
za1b1tsu has joined #ruby
nowhere_man has joined #ruby
mark_66 has joined #ruby
jnyw has joined #ruby
venmx has quit [Ping timeout: 260 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
nowhereman_ has quit [Ping timeout: 252 seconds]
konsolebox has quit [Ping timeout: 268 seconds]
hanmac has quit [Ping timeout: 276 seconds]
yohji has quit [Ping timeout: 240 seconds]
sspreitz has quit [Ping timeout: 256 seconds]
bronson has joined #ruby
konsolebox has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
sspreitz has joined #ruby
kryptoz has joined #ruby
yohji has joined #ruby
alfiemax has joined #ruby
hanmac has joined #ruby
alfiemax_ has quit [Ping timeout: 268 seconds]
darkhanb_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
venmx has joined #ruby
schneide_ has joined #ruby
schneide_ has quit [Remote host closed the connection]
mikhael_k33hl has joined #ruby
<mikhael_k33hl> Is it possible to include and use a module inside a ruby script without any class definitioin?
jenrzzz has quit [Ping timeout: 256 seconds]
<apeiros> yes
workmad3 has joined #ruby
AJA4350 has joined #ruby
RougeT430 has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
marr has joined #ruby
Mike11 has joined #ruby
xfbs has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
xfbs_ has joined #ruby
kies has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
sameerynho has joined #ruby
schneide_ has joined #ruby
rabajaj has joined #ruby
xfbs has quit [Ping timeout: 265 seconds]
cdg has quit [Ping timeout: 276 seconds]
vichib has quit [Ping timeout: 248 seconds]
Mike11 has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
galeido has joined #ruby
guille-moe has joined #ruby
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
Beams has joined #ruby
Guest29 has joined #ruby
aufi_ has joined #ruby
aufi has quit [Ping timeout: 268 seconds]
<mikhael_k33hl> apeiros: thanks I'll give it a try
raynold has quit [Quit: Connection closed for inactivity]
<apeiros> mikhael_k33hl: you know, plain "can I" questions you can easily answer yourself by using pry
<apeiros> or running a short lab script
<apeiros> if you actually want to know more than a plain "is it possible", then phrase your question in a way it's understandable what you're after
<apeiros> or where you're stumbling
mikecmpbll has joined #ruby
Snowy has joined #ruby
bronson has joined #ruby
<mikhael_k33hl> apeiros: Yeah, I'll keep that in mind next time, thanks though hehe:)
anonymus88 has joined #ruby
<apeiros> !badnick anonymus88
anonymus88 was kicked from #ruby by ruby[bot] [nickname is not suitable for this channel, see http://ruby-community.com/pages/user_rules]
xuyuheng has joined #ruby
<adaedra> 👀
sieve has joined #ruby
xuyuheng has quit [Client Quit]
bronson has quit [Ping timeout: 248 seconds]
stoffus has joined #ruby
Mike11 has joined #ruby
Mike11 has quit [Max SendQ exceeded]
Mike11 has joined #ruby
Mike11 has quit [Max SendQ exceeded]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mike11 has joined #ruby
Guest6318 is now known as olspookishmagus
Mike11 has quit [Max SendQ exceeded]
maufart__ has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
milardovich has joined #ruby
aufi_ has quit [Ping timeout: 256 seconds]
bauruine has quit [Quit: ZNC - http://znc.in]
<sieve> Hi, I need to come up with a regex that checks that a string is < n chars
<sieve> It does have to be a regex ( very annoyingly)
<sieve> Its for gitlab branchname checker
bauruine has joined #ruby
elphe has quit [Ping timeout: 246 seconds]
<apeiros> sieve: /\A.{,#{n-1}}\z/
<sieve> apeiros: wow, that looks like an evil regex
<tobiasvl> /^.{,3}$/ ?
<tobiasvl> /^.{,3}$/ ?
<apeiros> no
<tobiasvl> or that yes
<apeiros> ^ and $ are wrong
<tobiasvl> yeah
<tobiasvl> you're right
<apeiros> >> "fits\nwaaaaaaaaaaytooolong" =~ /^.{,3}$/
<ruby[bot]> apeiros: # => nil (https://eval.in/944718)
<apeiros> meh, fits > 3, lol
<apeiros> >> "ok\nwaaaaaaaaaaytooolong" =~ /^.{,3}$/
<ruby[bot]> apeiros: # => 0 (https://eval.in/944719)
tomphp has joined #ruby
<apeiros> also both are wrong if the string is allowed to contain newlines. then you need //m
<canton7> if it's a branch name, it can't contain newlines anyway, no?
<apeiros> canton7: sure, but the regex doesn't check for that
cdg has joined #ruby
<apeiros> and "branch name" actually means "forget that part about //m" :D
cdg has quit [Ping timeout: 240 seconds]
jnyw has quit [Quit: WeeChat 2.0.1]
<sieve> apeiros: I guess the '3' gives us the max?
<sieve> apeiros: Im a bit confused, shouldnt your expression return a 1 because the string is too long?
<apeiros> sieve: yes, in mine #{n}, where n is your variable holding max length
<canton7> /\A.{,3}}\z/ is the correct regex. All of the stuff with ^ and $ was showing that using ^ and $ instead of \A and \z has issues
<apeiros> and no, =~ returns nil if the regex doesn't match
<apeiros> if it does match, it returns the offset where it matches, and since we anchor it, it should only ever return nil or 0 (no-match vs. match)
WhereIsMySpoon has quit [Disconnected by services]
WhereIsMySpoon_ has joined #ruby
<sieve> /\A.{,#{40-1}}\z/ should work fine then?
<sieve> sorry, I have utterly no clue with regex or ruby
<apeiros> yes, but if you know it must be <40, you can hard-code it to /\A.{,39}\z/
Guest29 has joined #ruby
<apeiros> the #{40-1} would evaluate to just 39
<apeiros> \A <- start of string (whereas ^ is start of *any* line)
<apeiros> . <- any character
<apeiros> {,39} <- repeat pattern 0 to 39 times (i.e. any character 0-39 times)
<apeiros> \z <- end of string (whereas $ is end of *any* line)
<canton7> the #{stuff} is syntax for string interpolation in ruby -- substituting a variable into a string (or regex)
kryptoz has quit [Remote host closed the connection]
elphe has joined #ruby
kapil___ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
schneide_ has quit [Read error: Connection reset by peer]
schneide_ has joined #ruby
schneide_ has quit [Remote host closed the connection]
schneide_ has joined #ruby
bronson has joined #ruby
alfiemax_ has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 260 seconds]
Psybur has joined #ruby
mtkd has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
bronson has quit [Ping timeout: 246 seconds]
venmx has quit [Ping timeout: 248 seconds]
venmx has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mikhael_k33hl has quit [Quit: Page closed]
ldnunes has joined #ruby
alfiemax has joined #ruby
Psybur has quit [Ping timeout: 246 seconds]
matcouto has joined #ruby
matcouto has quit [Client Quit]
cadillac_ has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
kryptoz has joined #ruby
tensor-dev has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
vutral|kali has joined #ruby
zigzig has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
kryptoz has quit [Ping timeout: 248 seconds]
zigzig has joined #ruby
tens0r has quit [Ping timeout: 240 seconds]
tensor-dev is now known as tens0r
jottr has joined #ruby
schneide_ has quit [Remote host closed the connection]
shinnya has joined #ruby
nowhereman_ has joined #ruby
pecpec has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
pecpec_ has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Ping timeout: 240 seconds]
pecpec has quit [Ping timeout: 248 seconds]
kryptoz has joined #ruby
s2013 has joined #ruby
schneide_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
rrutkowski has joined #ruby
rrutkowski has quit [Client Quit]
rrutkowski has joined #ruby
jaruga has joined #ruby
sameerynho has quit [Ping timeout: 265 seconds]
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
yohji has quit [Ping timeout: 256 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has joined #ruby
ferr1 has joined #ruby
coderphive has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
coderphive has joined #ruby
Bish has quit [Ping timeout: 268 seconds]
ferr1 has left #ruby [#ruby]
Ltem has joined #ruby
yohji has joined #ruby
cdg has joined #ruby
banisterfiend has joined #ruby
alfiemax has joined #ruby
Bish has joined #ruby
alfiemax_ has quit [Ping timeout: 256 seconds]
cdg has quit [Ping timeout: 265 seconds]
Psybur has joined #ruby
Psybur has joined #ruby
Psybur has quit [Changing host]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dinfuehr has quit [Ping timeout: 240 seconds]
nahra has quit [Remote host closed the connection]
nahra has joined #ruby
dinfuehr has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
Kero has quit [Ping timeout: 240 seconds]
nahra has quit [Remote host closed the connection]
Kero has joined #ruby
kith has joined #ruby
kryptoz has quit []
xfbs_ has quit []
quobo has joined #ruby
alfiemax_ has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
stormpack has joined #ruby
banisterfiend has joined #ruby
InfinityFye has joined #ruby
bronson has joined #ruby
InfinityFye has left #ruby [#ruby]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
govg has quit [Ping timeout: 260 seconds]
govg has joined #ruby
gremax is now known as dig
tomphp has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
tomphp has quit [Client Quit]
alfiemax_ has quit [Ping timeout: 252 seconds]
alfiemax has joined #ruby
Ishido has joined #ruby
xfbs has joined #ruby
shorberg has quit [Remote host closed the connection]
shorberg has joined #ruby
tomphp has joined #ruby
Azure has quit [Read error: Connection reset by peer]
tomphp has quit [Ping timeout: 248 seconds]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
nadir has joined #ruby
InfinityFye has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 256 seconds]
shinnya has quit [Ping timeout: 252 seconds]
yohji has quit [Ping timeout: 256 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
apparition has joined #ruby
jeffreylevesque has quit [Ping timeout: 256 seconds]
Azure has joined #ruby
rwb has quit [Ping timeout: 256 seconds]
yohji has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rikkipitt has joined #ruby
jaruga has quit [Quit: jaruga]
synthroid has joined #ruby
bmurt has joined #ruby
banisterfiend has joined #ruby
xfbs has quit []
Bish has quit [Remote host closed the connection]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
alfiemax has quit [Remote host closed the connection]
venmx has joined #ruby
<Burgestrand> >> "\n"[/./]
<ruby[bot]> Burgestrand: # => nil (https://eval.in/944953)
<Burgestrand> what is character
<Burgestrand> baby dont hurt me
<Burgestrand> too many syllables to make a good song
<Burgestrand> should have tried for a haiku
<apeiros> >> "\n"[/./m] # know your ruby :p
<ruby[bot]> apeiros: # => "\n" (https://eval.in/944960)
InfinityFye has left #ruby ["Leaving"]
<apeiros> though, honestly, I'd prefer if it was reversed. . matching \n by default, disabled on request
<Burgestrand> I just wanted to be a besserwisser regarding any character :d
alfiemax has joined #ruby
<apeiros> :D
bronson has quit [Ping timeout: 256 seconds]
sieve has quit [Quit: Leaving.]
cschneid has joined #ruby
jeffreylevesque has joined #ruby
jtdoncas_ has joined #ruby
cschneid has quit [Ping timeout: 260 seconds]
jeffreylevesque_ has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
John_Ivan has quit [Ping timeout: 256 seconds]
jeffreylevesque has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
Azure has quit [Read error: Connection reset by peer]
Azure has joined #ruby
jtdoncas_ has quit [Ping timeout: 256 seconds]
cdg has quit [Remote host closed the connection]
cschneid has joined #ruby
cdg has joined #ruby
synthroid has quit [Remote host closed the connection]
hanmac has joined #ruby
cgfbee has quit [Read error: No route to host]
mostlybadfly has joined #ruby
aguestuser has quit [Ping timeout: 255 seconds]
aguestuser has joined #ruby
cschneid has quit [Ping timeout: 248 seconds]
randomstrangerb has quit [Ping timeout: 248 seconds]
cgfbee has joined #ruby
randomstrangerb has joined #ruby
TinkerTyper has quit [Read error: Connection reset by peer]
ldnunes has quit [Ping timeout: 240 seconds]
TinkerTyper has joined #ruby
stoffus_ has joined #ruby
discopatrick has joined #ruby
stoffus has quit [Ping timeout: 260 seconds]
cschneid has joined #ruby
stoffus_ has quit [Ping timeout: 256 seconds]
sepp2k has joined #ruby
synthroid has joined #ruby
ldnunes has joined #ruby
banisterfiend has joined #ruby
moei has joined #ruby
nowhere_man has joined #ruby
DLSteve_ has joined #ruby
oleo has joined #ruby
nowhereman_ has quit [Ping timeout: 248 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
sieve has joined #ruby
elphe has quit [Ping timeout: 252 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagmz has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
rwb has joined #ruby
3NAAACJMU has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tens0r has quit [Ping timeout: 240 seconds]
tens0r has joined #ruby
banisterfiend has joined #ruby
pastorinni has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
John_Ivan has joined #ruby
tens0r has quit [Ping timeout: 246 seconds]
pastorinni has quit [Read error: No route to host]
pastorinni has joined #ruby
tcopeland has quit [Quit: tcopeland]
jrafanie has joined #ruby
alfiemax has quit [Ping timeout: 248 seconds]
tcopeland has joined #ruby
oaeirjga has joined #ruby
workmad3 has joined #ruby
<oaeirjga> Hi! How can one who has a one-file script import the StringScanner class? Have tried require and include, with the argument StringScanner both with and without quotes.
ldnunes has quit [Ping timeout: 240 seconds]
synthroid has quit [Remote host closed the connection]
naftilos76 has joined #ruby
Guest9847 is now known as WA9ACE
jottr has joined #ruby
<tobiasvl> oaeirjga: uh, shouldn't that be `require 'strscan'` ?
deadnull has joined #ruby
<tobiasvl> >> require 'strscan'
<ruby[bot]> tobiasvl: # => true (https://eval.in/945076)
<tobiasvl> >> require 'strscan'; StringScanner
<ruby[bot]> tobiasvl: # => StringScanner (https://eval.in/945077)
<oaeirjga> I think that is right. Thank you for helping me out with such a noob thing - appreciated!
troys has joined #ruby
<tobiasvl> np
ta_ has quit [Remote host closed the connection]
oaeirjga has left #ruby ["ERC (IRC client for Emacs 25.3.1)"]
za1b1tsu has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 268 seconds]
<apeiros> yeah, sadly stdlib violates some conventions :<
ta_ has joined #ruby
<apeiros> IMO they should rename the file to stringscanner and have a strscan.rb which emits a warning.
stoffus has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
Rapture has joined #ruby
stoffus has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
schneide_ has quit [Remote host closed the connection]
schneide_ has joined #ruby
apparition has quit [Quit: Bye]
schneide_ has quit [Read error: Connection reset by peer]
schneide_ has joined #ruby
tomphp has joined #ruby
alfiemax has joined #ruby
schneide_ has quit [Client Quit]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has joined #ruby
tomphp has quit [Ping timeout: 264 seconds]
apeiros__ has joined #ruby
dig is now known as gremax
alfiemax has quit [Ping timeout: 256 seconds]
apeiros__ has quit [Remote host closed the connection]
naftilos76 has quit [Read error: Connection reset by peer]
pecpec_ has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 248 seconds]
pecpec has joined #ruby
facest has quit [Ping timeout: 240 seconds]
mikecmpb_ has joined #ruby
pecpec has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 260 seconds]
prutheus has joined #ruby
<prutheus> Hello. I have following hash: https://bpaste.net/show/3353026ba7a5 And I want to convert it so, that the value of the EBAY-SG element is an array again where the first element is the category name (currently the first element of the 2 size arrays) and the second element of that new array should be an array of all subcategories for that category(currently the 2nd elements in the 2 size arrays)
<prutheus> you know what i mean?
bronson has joined #ruby
<prutheus> e.g. that one https://bpaste.net/show/d558b36552df
<prutheus> I hope you understand waht i mean and can help me
prutheus has quit [Quit: Page closed]
bronson has quit [Ping timeout: 256 seconds]
<cjohnson> Using gem inabox to deploy, I accidentally typed the wrong uri for this prompt: bundle exec rake release
<cjohnson> Enter the root url for your personal geminabox instance (e.g. http://gems/).
<cjohnson> And it won't let me enter a new uri when I re-run the dir
<cjohnson> Anybody know where this response gets cached?
rabajaj has quit [Quit: Leaving]
cek has joined #ruby
<cjohnson> gem inabox -g HOST
VladGh_ has joined #ruby
clemens3 has joined #ruby
mtkd has quit [Ping timeout: 256 seconds]
VladGh has quit [Ping timeout: 240 seconds]
redlegion[m] has joined #ruby
mtkd has joined #ruby
elphe has joined #ruby
rikkipitt has quit [Remote host closed the connection]
apeiros has joined #ruby
elphe has quit [Ping timeout: 248 seconds]
rikkipitt has joined #ruby
rikkipitt has quit [Remote host closed the connection]
dogweather has joined #ruby
vichib has joined #ruby
maufart__ has quit [Quit: Leaving]
conta has quit [Ping timeout: 240 seconds]
ldnunes has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
tomlukeywood has joined #ruby
mark_66 has quit [Remote host closed the connection]
jrafanie_ has joined #ruby
<tomlukeywood> if I am iterating through an array with arr.each { |item| }
<tomlukeywood> and i wanted to get the next item in the array without completing a loop, how would I do this?
<tomlukeywood> so something like arr.each { |item| if item == next_item ... end
jrafanie has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
stormpack has quit [Quit: Leaving]
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
<Mon_Ouie> tomlukeywood: array.each_cons(2) { |item, next_item| … }
govg has quit [Ping timeout: 256 seconds]
<Mon_Ouie> This won't enter the loop for the last item though, because there's no next_item to use after that
govg has joined #ruby
kapil___ has joined #ruby
<WA9ACE> there's also `each_with_index { |item, index| }` and use index + 1 to get the next one
jrafanie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has quit [Remote host closed the connection]
pecpec has joined #ruby
schneide_ has joined #ruby
schneide_ has quit [Read error: Connection reset by peer]
schneide_ has joined #ruby
synthroid has joined #ruby
jrafanie has joined #ruby
pecpec has quit [Ping timeout: 268 seconds]
schneide_ has quit [Read error: Connection reset by peer]
jtdoncas_ has joined #ruby
schneide_ has joined #ruby
drewmcmillan has joined #ruby
bronson has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 248 seconds]
cschneid has joined #ruby
x77686d has joined #ruby
raynold has joined #ruby
alfiemax has joined #ruby
alfiemax_ has joined #ruby
conta has joined #ruby
andikr has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 240 seconds]
alfiemax_ has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
workmad3 has joined #ruby
[Butch] has joined #ruby
Ishido has quit [Ping timeout: 256 seconds]
alfiemax_ has joined #ruby
wndxlori has quit []
conta has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 268 seconds]
jottr has joined #ruby
Ishido has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nowhereman_ has joined #ruby
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
Sambsquanch has joined #ruby
za1b1tsu has joined #ruby
xfbs has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ams__ has joined #ruby
nowhere_man has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
banisterfiend has joined #ruby
aupadhye has quit [Remote host closed the connection]
tens0r has joined #ruby
c_nick has joined #ruby
tens0r has quit [Ping timeout: 256 seconds]
leitz has joined #ruby
darkhanb has joined #ruby
xfbs has quit []
alfiemax_ has quit [Ping timeout: 264 seconds]
xfbs has joined #ruby
alfiemax has joined #ruby
yohji has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
marxarelli has joined #ruby
biberu has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
schneide_ has joined #ruby
synthroid has joined #ruby
milardovich has quit []
Beams has quit [Quit: .]
schneide_ has quit [Ping timeout: 252 seconds]
Ishido has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 265 seconds]
<cek> .find.with_index
justinfaler2 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Sambsquanch has quit [Quit: Peace, take it easy.]
deadnull has quit [Quit: deadnull]
Psybur_ has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
n13z has quit [Remote host closed the connection]
alfiemax has quit [Remote host closed the connection]
xfbs has quit []
<tomlukeywood> Mon_Ouie: ty
Psybur has quit [Ping timeout: 260 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 240 seconds]
RougeT430 has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
Rr4sT has joined #ruby
Eiam has joined #ruby
Press10 has joined #ruby
zigzig has quit [Ping timeout: 255 seconds]
alfiemax has joined #ruby
<Press10> If I'm passing a block to Array#uniq, can I be sure that items left in the array are the "first" occurrences of items that had duplicates as determined by the block?
zigzig has joined #ruby
<Press10> >> (1..10).to_a.uniq(&:even?)
<Press10> Hrm. Will that *always* give me [1,2]
zigzig has quit [Remote host closed the connection]
ledestin has joined #ruby
cek has left #ruby [#ruby]
schneide_ has joined #ruby
alfiemax has quit [Read error: Connection reset by peer]
zigzig has joined #ruby
alfiemax has joined #ruby
SeepingN has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
<cjohnson> If they are truly unique, first vs last shouldn't matter should it
<cjohnson> Er, truly de-duped
elphe has joined #ruby
schneide_ has quit [Ping timeout: 248 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c_nick has quit [Ping timeout: 246 seconds]
orbyt_ has joined #ruby
elcontrastador has joined #ruby
x77686d has quit [Quit: x77686d]
<havenwood> Press10: Yes, it'll always be: [1, 2]
alfiemax has quit [Read error: Connection reset by peer]
<apeiros> Press10: I don't think it makes any guarantees on order. but the current implementation should have you end up with either the first or the last consistently (I don't know which, but it uses order preserving hash internally afaik)
venmx has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
venmx has joined #ruby
randomstrangerb has quit [Ping timeout: 256 seconds]
randomstrangerb has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
eckhardt has joined #ruby
<havenwood> Press10: Though the docs don't mention it, the specs say it'll be yielded in order: https://github.com/ruby/spec/blob/8079e3dbe7ff8f1e794a49904b6882edf2f31086/core/array/uniq_spec.rb#L87-L92
x77686d has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
guacamole has quit [Client Quit]
kies has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
claudiuinberlin has joined #ruby
Vapez has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
TomyLobo has joined #ruby
gothicsouth has joined #ruby
hahuang65 has joined #ruby
clemens3 has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 240 seconds]
aScottishBoat has joined #ruby
tomlukeywood has quit [Quit: Leaving.]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quobo has joined #ruby
<aScottishBoat> I'm getting this error when executing my gem from the terminal
<aScottishBoat> ``find_spec_for_exe': can't find gem bettercap (>= 0.a) with executable bettercap (Gem::GemNotFoundException)`
Ishido has joined #ruby
bmurt has joined #ruby
<aScottishBoat> so it's requiring a spec?
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
cschneid has quit [Remote host closed the connection]
jrafanie has joined #ruby
guacamole has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
c_nick has joined #ruby
pecpec has joined #ruby
orbyt_ has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c_nick has left #ruby [#ruby]
zigzig has quit [Ping timeout: 255 seconds]
jrafanie has joined #ruby
pecpec has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
elcontrastador has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zigzig has joined #ruby
Snowy has quit [Remote host closed the connection]
Press10 has quit [Ping timeout: 260 seconds]
brent__ has quit [Client Quit]
mr_foto has joined #ruby
Snowy has joined #ruby
orbyt_ has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
tomphp has joined #ruby
bronson has joined #ruby
brent__ has quit [Client Quit]
conceivably has joined #ruby
brent__ has joined #ruby
Snowy has quit [Ping timeout: 248 seconds]
Press10 has joined #ruby
tomphp has quit [Client Quit]
<conceivably> Hello, I'm trying to parse a CSV with a new CSV as an output. When I try to append a CSV::Row to an existing CSV using '<<' it always appends an array where the first element is the header of that column and the second is the value. Of course I could always just append the second value of the field, but this seems so clumsy. The 'to_csv' method does the same thing. Am I missing something?
bronson has quit [Ping timeout: 240 seconds]
ldv has joined #ruby
cdg has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 260 seconds]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
ldv has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<apeiros> conceivably: can try .to_a
ldv has joined #ruby
ta_ has joined #ruby
<aScottishBoat> Hey crew. I'm getting this error when I'm running my gem from the terminal. https://gist.github.com/naltun/ef20c414d691575fc17ea0642c1f8cf4
<aScottishBoat> ``find_spec_for_exe': can't find gem bettercap (>= 0.a) with executable bettercap (Gem::GemNotFoundException)`
<conceivably> Pardon, what do you mean apeiros? Like calling '.to_a' on each row? But I don't want arrays. I just want regular CSV rows as in e.g. 'value1,value2,value3' etc.
banisterfiend has quit [Ping timeout: 246 seconds]
<apeiros> conceivably: instead of `new_csv << csv_row` where csv_row.is_a?(CSV::Row), you do `new_csv << csv_row.to_a`
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<conceivably> Well that leads to rows such as "["header", "value"]..." etc. :/
<conceivably> I do appreciate the suggestion, though, so thank you :)
jenrzzz has quit [Ping timeout: 248 seconds]
Vapez has quit [Ping timeout: 240 seconds]
jottr_ has joined #ruby
rrutkowski has quit [Ping timeout: 248 seconds]
jottr has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
venmx has joined #ruby
brent___ has joined #ruby
ldv has quit [Remote host closed the connection]
ldv has joined #ruby
discopatrick has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 240 seconds]
orbyt_ has joined #ruby
brent___ has quit [Client Quit]
<conceivably> I think I'll just manually convert them into CSV row strings for now. It does feel bizarre though, that it is necessary, leading me to believe that I fundamentally misunderstand how to properly use the CSV classes, so if anyone still had any insights, they would be greatly appreciated :)
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
brent__ has quit []
aScottishBoat has quit [Quit: aScottishBoat]
jenrzzz has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
7JTADFPWI has joined #ruby
17SAANFPO has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
brent__ has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
7JTADFPWI has quit [Client Quit]
17SAANFPO has quit [Client Quit]
guacamole has quit [Client Quit]
Vapez has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
tomphp has joined #ruby
guille-moe has quit [Ping timeout: 265 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
pecpec has joined #ruby
mostlybadfly has joined #ruby
c0ncealed has quit [Remote host closed the connection]
c0ncealed has joined #ruby
war_pigs has joined #ruby
LocaMocha has quit [Ping timeout: 248 seconds]
alfiemax has quit [Remote host closed the connection]
jenrzzz has joined #ruby
za1b1tsu has quit [Quit: Leaving]
alfiemax has joined #ruby
ldv has quit [Remote host closed the connection]
ldv has joined #ruby
k0mpa has joined #ruby
Stazer has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
PaulCapestany has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
PaulCape_ has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
nickjj has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
nickjj has joined #ruby
mistym has quit [Quit: ZNC - http://znc.in]
pastorinni has quit [Ping timeout: 248 seconds]
3NAAACJMU has quit [Quit: 3NAAACJMU]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dimik has joined #ruby
venmx has quit [Ping timeout: 240 seconds]
Freshnuts has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Freshnuts has quit [Max SendQ exceeded]
xfbs has joined #ruby
venmx has joined #ruby
Freshnuts has joined #ruby
Rr4sT has quit [Quit: Connection closed for inactivity]
Freshnuts has quit [Remote host closed the connection]
jrafanie has joined #ruby
Freshnuts has joined #ruby
mr_foto has quit []
RougeT430 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
ams__ has quit [Quit: Connection closed for inactivity]
Freshnuts has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
jrafanie has quit [Client Quit]
nadir has joined #ruby
Freshnuts has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
xfbs has quit []
Freshnuts has quit [Max SendQ exceeded]
Freshnuts has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
desperek has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marr has quit [Ping timeout: 240 seconds]
Freshnuts has quit [Max SendQ exceeded]
jrafanie has joined #ruby
ldnunes has quit [Quit: Leaving]
mnms_ has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
ur5us has joined #ruby
Freshnuts has joined #ruby
biberu has quit []
justinfaler2 has quit [Quit: justinfaler2]
Vapez has quit [Remote host closed the connection]
conta has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Psybur_ has quit [Ping timeout: 248 seconds]
claudiuinberlin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ycyclist has joined #ruby
sameerynho has joined #ruby
claudiuinberlin has joined #ruby
conta has quit [Ping timeout: 256 seconds]
venmx has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
bronson has joined #ruby
jeffreylevesque has joined #ruby
sieve has left #ruby [#ruby]
jeffreylevesque_ has quit [Ping timeout: 256 seconds]
Success has joined #ruby
alex`` has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 240 seconds]
jeffreylevesque_ has joined #ruby
alex`` has joined #ruby
jeffreylevesque has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 248 seconds]
mjolnird has quit [Remote host closed the connection]
mjolnird has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
psychicist__ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
conceivably has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ycyclist has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
jtdoncas_ has joined #ruby
randomstrangerb has quit [Ping timeout: 268 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
randomstrangerb has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
eckhardt has joined #ruby
tomphp has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
jrafanie has joined #ruby
cdg has joined #ruby
cschneid has joined #ruby
marr has joined #ruby
Stazer has quit [Remote host closed the connection]
Psybur_ has joined #ruby
rwb has quit [Ping timeout: 246 seconds]
d5sx43 has joined #ruby
brent__ has quit [Remote host closed the connection]
jtdoncas_ has quit [Ping timeout: 256 seconds]
Freshnuts has quit [Quit: Leaving]
Freshnuts has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Psybur_ has quit [Ping timeout: 256 seconds]
matcouto has joined #ruby
arashb has joined #ruby
psychicist__ has quit [Quit: leaving]
matcouto has quit [Client Quit]
pecpec has quit [Quit: Leaving...]
vutral|kali has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
randomstrangerb has quit [Ping timeout: 248 seconds]
randomstrangerb has joined #ruby
drakko has joined #ruby
bronson has quit [Ping timeout: 248 seconds]
tjbp has quit [Ping timeout: 255 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
desperek has quit [Ping timeout: 240 seconds]
guacamole has joined #ruby
[Butch] has quit [Quit: Textual IRC Client: www.textualapp.com]
drakko has quit [Client Quit]
jrafanie has joined #ruby
jtdoncas_ has joined #ruby
synthroid has quit []
jeffreylevesque_ has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
vichib has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 240 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
mtkd has joined #ruby
alfiemax has quit [Remote host closed the connection]
oleo has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
milardovich has joined #ruby
jottr_ has quit [Ping timeout: 240 seconds]
tjbp has joined #ruby
jottr_ has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 248 seconds]
alfiemax has joined #ruby
mnms_ has quit [Ping timeout: 240 seconds]
Lyubo1 has quit [Ping timeout: 263 seconds]
rwb has joined #ruby
elphe has quit [Ping timeout: 268 seconds]
yoru has joined #ruby
k0mpa has quit [Ping timeout: 255 seconds]
venmx has joined #ruby
quobo has joined #ruby
pastorinni has joined #ruby
d5sx43 has quit [Quit: Leaving...]
axsuul has quit [Ping timeout: 256 seconds]
pastorinni has quit [Read error: Connection reset by peer]
pastorinni has joined #ruby
pastorinni has quit [Remote host closed the connection]
pastorinni has joined #ruby
sepp2k has quit [Quit: Leaving.]
clemens3 has quit [Ping timeout: 264 seconds]
pastorin_ has joined #ruby
Guest29 has joined #ruby
axsuul has joined #ruby
jeffreylevesque has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pastorinni has quit [Ping timeout: 248 seconds]
jamesaxl has quit [Quit: WeeChat 2.0.1]
John_Ivan has quit [Ping timeout: 265 seconds]
jrafanie has quit [Ping timeout: 256 seconds]
jtdoncas_ has quit [Ping timeout: 248 seconds]
orbyt_ has joined #ruby
Ltem has quit [Quit: good night]
amatas has quit [Ping timeout: 248 seconds]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
bronson has joined #ruby
jottr_ is now known as jottr
yoru has quit [Quit: Lost terminal]
alfiemax has quit [Ping timeout: 240 seconds]
arashb has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 260 seconds]
John_Ivan has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
cdg has quit [Client Quit]
alfiemax has quit [Remote host closed the connection]
cdg_ has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
cadillac_ has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has joined #ruby
workmad3 has joined #ruby
RougeT430 has quit [Ping timeout: 260 seconds]
roshanavand has quit [Quit: Leaving.]
mikecmpbll has quit [Quit: inabit. zz.]
workmad3 has quit [Ping timeout: 252 seconds]
gnufied has quit [Remote host closed the connection]
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claudiuinberlin has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has quit [Remote host closed the connection]
hahuang61 has joined #ruby
cdg has joined #ruby
roshanavand has joined #ruby
byte512 has quit [Ping timeout: 268 seconds]
jnyw has joined #ruby
elphe has joined #ruby
arashb has joined #ruby
_aeris_ has quit [Ping timeout: 255 seconds]
cdg_ has joined #ruby
cdg has quit [Ping timeout: 264 seconds]
arashb has quit [Ping timeout: 240 seconds]
Psybur_ has joined #ruby
_aeris_ has joined #ruby
byte512 has joined #ruby
Ishido has quit [Read error: Connection reset by peer]
arashb has joined #ruby
Psybur__ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
jnollette has quit [Quit: ZNC 1.6.5 - http://znc.in]
jenrzzz has joined #ruby
Psybur_ has quit [Ping timeout: 260 seconds]
moei has quit [Quit: Leaving...]
Guest29 has joined #ruby
govg has quit [Ping timeout: 240 seconds]
apeiros has quit [Read error: Connection reset by peer]
steveh7 has joined #ruby
alex`` has quit [Ping timeout: 252 seconds]
bronson has joined #ruby
alfiemax has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
Psybur__ is now known as Psybur
Psybur has quit [Changing host]
Psybur has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 256 seconds]
arashb has quit [Ping timeout: 256 seconds]
TomyLobo has quit [Ping timeout: 256 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]