havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3 & 2.2.6 (2.4.0-rc1): 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
nankyokusei has quit [Ping timeout: 250 seconds]
pwnd_nsfw has joined #ruby
xrlk has joined #ruby
jhack has quit [Quit: jhack]
jenrzzz has quit [Ping timeout: 250 seconds]
TPug has joined #ruby
jshjsh has quit [Ping timeout: 268 seconds]
<havenwood> shayan_: hi
fullofcaffeine has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
fullofcaffeine has quit [Remote host closed the connection]
<zenspider> shayan_: then msg nickserv and sort it out
<shayan_> it’s all sorted out :D
<shayan_> ty for help!
<zenspider> great
centrx has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
centrx has joined #ruby
jhack has joined #ruby
grenierm has quit [Quit: grenierm]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
JoshS has joined #ruby
theoretick has joined #ruby
gh has joined #ruby
fullofcaffeine has quit [Ping timeout: 256 seconds]
jhack has quit [Client Quit]
theoretick has quit [Client Quit]
UserJosh has quit [Ping timeout: 268 seconds]
bronson has joined #ruby
grenierm has joined #ruby
agent_white has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
callenb1 has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
yaw has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
montanonic has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
pen has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
last_staff has quit [Quit: last_staff]
pen has joined #ruby
gnufied has joined #ruby
h1fuelcell has quit [Ping timeout: 268 seconds]
tubuliferous_ has quit [Ping timeout: 252 seconds]
Madplatypus has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
ResidentBiscuit has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
sp4rrow has quit [Read error: Connection reset by peer]
ResidentBiscuit has joined #ruby
sp4rrow has joined #ruby
pen has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 268 seconds]
PaschalsWager has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
montanonic has quit [Ping timeout: 258 seconds]
Joufflu has joined #ruby
gnufied__ has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gnufied has quit [Quit: Leaving]
centrx has quit [Remote host closed the connection]
robnester is now known as robnester\mibbit
griffindy has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
arescorpio has joined #ruby
centrx has joined #ruby
frozengeek has quit [Quit: frozengeek]
gh has quit [Quit: Leaving]
charliesome has joined #ruby
bradleyprice has joined #ruby
Derderderd has quit [Ping timeout: 250 seconds]
centrx has quit [Remote host closed the connection]
Derderderd has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
bradleyp_ has quit [Ping timeout: 250 seconds]
__main__ has quit [Read error: Connection reset by peer]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_main_ has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
istrasci has left #ruby [#ruby]
griffindy has quit [Quit: Textual IRC Client: www.textualapp.com]
jdawgaz has joined #ruby
d0nn1e has quit [Ping timeout: 252 seconds]
__main__ has joined #ruby
freemac136 has quit [Ping timeout: 260 seconds]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
Derderderd has quit [Ping timeout: 245 seconds]
jdawgaz has quit [Client Quit]
robnester\mibbit is now known as robnestetr
robnestetr is now known as robnester
d0nn1e has joined #ruby
jdawgaz has joined #ruby
hahuang61 has joined #ruby
centrx has joined #ruby
ycyclist has quit [Quit: Page closed]
enilsen16 has quit [Quit: enilsen16]
hahuang61 has quit [Ping timeout: 240 seconds]
enilsen16 has joined #ruby
DLSteve has joined #ruby
blackbombay has joined #ruby
_main_ has joined #ruby
grenierm has quit [Quit: grenierm]
_main_ has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
_main_ has joined #ruby
bruce_lee has quit [Remote host closed the connection]
JoshS has quit [Ping timeout: 268 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_main_ is now known as __main__
sp4rrow has joined #ruby
yaw has quit [Ping timeout: 264 seconds]
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
ResidentBiscuit has quit []
TPug has joined #ruby
minimalism has quit [Quit: minimalism]
dnicole has quit [Remote host closed the connection]
boon_ has joined #ruby
boon_ has left #ruby [#ruby]
armyriad has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
marr has quit [Ping timeout: 258 seconds]
__main__ has joined #ruby
h1fuelcell has joined #ruby
robnester has left #ruby [#ruby]
minimalism has joined #ruby
_main_ has joined #ruby
robnester has joined #ruby
h1fuelcell has quit [Ping timeout: 260 seconds]
montanonic has joined #ruby
jottr has joined #ruby
__main__ has quit [Ping timeout: 264 seconds]
_main_ is now known as __main__
centrx has quit [Remote host closed the connection]
nankyokusei has joined #ruby
tomphp has joined #ruby
centrx has joined #ruby
h1fuelcell has joined #ruby
tomphp has quit [Client Quit]
malconis has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 256 seconds]
tubuliferous_ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
h1fuelce_ has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
_main_ has joined #ruby
rakm has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
sp4rrow has joined #ruby
montanonic has quit [Ping timeout: 240 seconds]
_main_ has joined #ruby
centrx has quit [Remote host closed the connection]
h1fuelcell has quit [Ping timeout: 256 seconds]
chouhoulis has quit [Ping timeout: 258 seconds]
shayan_ has quit [Read error: Connection reset by peer]
_main_ is now known as __main__
_main_ has joined #ruby
centrx has joined #ruby
__main__ has quit [Ping timeout: 260 seconds]
_main_ is now known as __main__
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
nowhere_man has joined #ruby
charliesome has quit [Client Quit]
beilabs has quit [Remote host closed the connection]
__main__ has quit [Read error: Connection reset by peer]
Definity has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
__main__ has joined #ruby
gbgdev has quit [Remote host closed the connection]
d^sh has quit [Ping timeout: 250 seconds]
d^sh has joined #ruby
h1fuelce_ has quit [Remote host closed the connection]
harai_ has quit [Ping timeout: 258 seconds]
_main_ has joined #ruby
SeepingN has joined #ruby
bronson has joined #ruby
__main__ has quit [Ping timeout: 250 seconds]
h1fuelcell has joined #ruby
_main_ is now known as __main__
tubuliferous_ has quit [Ping timeout: 256 seconds]
SeepingN has quit [Client Quit]
bronson has quit [Ping timeout: 256 seconds]
ResidentBiscuit has joined #ruby
Mekkis has quit [Excess Flood]
centrx has quit [Remote host closed the connection]
Mekkis has joined #ruby
splud has quit [Quit: splud]
centrx has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
gbgdev has joined #ruby
jottr has quit [Quit: WeeChat 1.5]
ResidentBiscuit has quit [Remote host closed the connection]
_djbkd has joined #ruby
harai_ has joined #ruby
quazimodo has quit [Ping timeout: 250 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
h1fuelcell has quit [Remote host closed the connection]
jdawgaz has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
centrx has quit [Remote host closed the connection]
beilabs has joined #ruby
Joufflu_ has joined #ruby
cdg has quit [Remote host closed the connection]
nowhere_man has quit [Read error: Connection reset by peer]
nowhere_man has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
h1fuelcell has joined #ruby
Joufflu has quit [Ping timeout: 265 seconds]
hahuang61 has joined #ruby
libastral has quit [Ping timeout: 252 seconds]
hahuang61 has quit [Ping timeout: 245 seconds]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
yeticry has quit [Read error: Connection reset by peer]
libastral has joined #ruby
nunchuck has quit [Read error: Connection reset by peer]
yeticry has joined #ruby
centrx has quit [Remote host closed the connection]
icharlie has joined #ruby
matp_ has joined #ruby
nankyokusei has joined #ruby
matp has quit [Ping timeout: 260 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brent__ has quit [Quit: Connection closed for inactivity]
rgiscard has quit [Remote host closed the connection]
nofxx has quit [Quit: Leaving]
nofxx has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
nankyokusei has quit [Ping timeout: 248 seconds]
jdawgaz has joined #ruby
Madplatypus has joined #ruby
duderonomy has joined #ruby
hanmac has quit [Ping timeout: 258 seconds]
saneax is now known as saneax-_-|AFK
JoshS has joined #ruby
UserJosh has joined #ruby
pawnbox has joined #ruby
jshjsh has quit [Ping timeout: 250 seconds]
JoshS has quit [Ping timeout: 268 seconds]
pwnd_nsfw has quit [Ping timeout: 245 seconds]
pwnd_nsfw has joined #ruby
hanmac has joined #ruby
brendan- has joined #ruby
astrobunny has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
astrobunny has quit [Ping timeout: 248 seconds]
aryaching has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
bradleyprice has quit [Remote host closed the connection]
__main__ has quit [Read error: Connection reset by peer]
braincrash has quit [Quit: bye bye]
__main__ has joined #ruby
arescorpio has quit [Quit: Leaving.]
beilabs_ has joined #ruby
bronson has joined #ruby
beilabs has quit [Ping timeout: 250 seconds]
enilsen16 has quit [Quit: enilsen16]
enterprisey has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 252 seconds]
__main__ has quit [Ping timeout: 268 seconds]
Pachonk has joined #ruby
<Pachonk> Hi there!
gbgdev has quit [Remote host closed the connection]
<agent_white> Hello!
Anonymoose2 has quit [Ping timeout: 265 seconds]
reverberations has joined #ruby
<Pachonk> Hey! I saw you in the RoR channel @agent_white
ResidentBiscuit has joined #ruby
braincrash has joined #ruby
ResidentBiscuit has quit [Ping timeout: 258 seconds]
slackbotgz has joined #ruby
enterprisey has joined #ruby
AustinMatherne has quit [Remote host closed the connection]
dviola has quit [Quit: WeeChat 1.6]
aidalgol has joined #ruby
jabreity has quit [Quit: Connection closed for inactivity]
h1fuelcell has quit [Remote host closed the connection]
<agent_white> I am in there as well :)
enterprisey has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 260 seconds]
gix has quit [Ping timeout: 240 seconds]
h1fuelcell has joined #ruby
nankyokusei has joined #ruby
gix has joined #ruby
grenierm has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eizua has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
minimalism has quit [Ping timeout: 250 seconds]
cibs has quit [Ping timeout: 268 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tubuliferous_ has joined #ruby
cibs has joined #ruby
moei has quit [Read error: Connection reset by peer]
moei has joined #ruby
enterprisey has joined #ruby
PaschalsWager has joined #ruby
enterprisey has quit [Max SendQ exceeded]
enterprisey has joined #ruby
bradleyprice has joined #ruby
bocaneri has joined #ruby
enterprisey has quit [Max SendQ exceeded]
enterprisey has joined #ruby
slackbotgz has quit [Remote host closed the connection]
PaschalsWager has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Max SendQ exceeded]
alexherbo2 has joined #ruby
enterprisey has joined #ruby
Kazlock has joined #ruby
PaulCapestany has quit [Remote host closed the connection]
PaschalsWager has joined #ruby
dcluna has quit [Ping timeout: 264 seconds]
shayan_ has joined #ruby
shayan_ has left #ruby [#ruby]
PaulCapestany has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
Channel6 has joined #ruby
UserJosh is now known as JoshS
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
reverberations has quit [Ping timeout: 245 seconds]
h1fuelcell has joined #ruby
montanonic has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
reverberations has joined #ruby
elliot007 has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
jaguarmagenta has joined #ruby
Kazlock has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has quit [Remote host closed the connection]
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
PaschalsWager has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexherbo2 has quit [Ping timeout: 265 seconds]
PaschalsWager has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
h1fuelcell has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
AnoHito has quit [Read error: Connection reset by peer]
AnoHito has joined #ruby
fullofcaffeine has quit [Ping timeout: 256 seconds]
eizua has quit [Quit: Leaving]
nankyokusei has joined #ruby
h1fuelcell has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Read error: No route to host]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Read error: No route to host]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
quazimodo has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
Pachonk has left #ruby ["WeeChat 1.6"]
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
tubuliferous_ has joined #ruby
hutch34 has joined #ruby
tubuliferous_ has quit [Ping timeout: 258 seconds]
reverberations has quit [Ping timeout: 258 seconds]
jaguarmagenta has quit [Read error: Connection reset by peer]
hahuang61 has joined #ruby
jaguarmagenta has joined #ruby
antoniobeyah has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
rippa has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
ta_ has quit [Remote host closed the connection]
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
yaw has joined #ruby
girobiro has joined #ruby
blackwind_123 has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
saneax-_-|AFK is now known as saneax
jaguarmagenta has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
amclain has quit [Quit: Leaving]
reverberations has joined #ruby
aerv has joined #ruby
<aerv> hi i m new to ruby.i want to do this file.search_file_replace_line(# DocumentRoot,"Listen 8005")
<aerv> here since i use #.its nt taken as a regex
jaguarmagenta has quit [Read error: Connection reset by peer]
cibs has quit [Ping timeout: 268 seconds]
jaguarmagenta has joined #ruby
<c-c> hi a
jaguarmagenta has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
<c-c> *hi aerv
jaguarmagenta has joined #ruby
<aerv> hi c-c
tubuliferous_ has joined #ruby
icharlie has quit [Remote host closed the connection]
jaguarmagenta has quit [Read error: Connection reset by peer]
cibs has joined #ruby
icharlie has joined #ruby
<c-c> aerv: is that Chef?
<aerv> c-c: yes it is
PaschalsWager has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
<aerv> c-c: any solution?
<c-c> aerv: well, that doesn't look like it is valid arg for that function
<aerv> c-c: yes how to pass a regex with comment
<aerv> do i have to escape that?
PaschalsWager has joined #ruby
icharlie has quit [Ping timeout: 245 seconds]
h1fuelcell has joined #ruby
<aerv> c-c: no
<aerv> c-c: i want to use to find this ^# DocumentRoot in regex and replace it with ^# DocumentRoot inde.html
skweek has joined #ruby
jaguarmagenta has quit [Read error: No route to host]
jaguarmagenta has joined #ruby
h1fuelcell has quit [Ping timeout: 246 seconds]
beilabs_ has quit [Remote host closed the connection]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beilabs has joined #ruby
<c-c> something like (/^#\tDocumentRoot$/, "#\tDocumentRoot inde.html")
<c-c> the \t you are going to have to replace with the matcher for the right whitespace
Derderderd has joined #ruby
<aerv> c-c: where can i find more custom functions for chef.. any other library that core and util?
cfec0b8d has joined #ruby
<c-c> aerv: I think you could ask in chef channel
<c-c> aerv: #chefconf I think
beilabs has quit [Ping timeout: 250 seconds]
<c-c> or google up the chef reference docs
<aerv> no thats not a correct channel
<aerv> sure will look up
jshjsh has joined #ruby
<aerv> c-c: the code for some reason dint change me anything
<aerv> that snippet
_djbkd has quit [Quit: My people need me...]
<c-c> aerv: this helps http://rubular.com/
Devalo has joined #ruby
JoshS has quit [Ping timeout: 250 seconds]
<aerv> c-c: can you tell me whats wrong http://rubular.com/r/zcxyraiAZJ
meshsmith has joined #ruby
lxsameer has joined #ruby
Devalo has quit [Ping timeout: 264 seconds]
icharlie has joined #ruby
<c-c> aerv: remove the last forward slash (see on the right, its "already there")
djbkd_ has joined #ruby
<aerv> last forward slash?
<aerv> in the test string?
<c-c> "Your regular expression:"
<aerv> it says ^#\tDocumentRoot$ no matches
Channel6 has quit [Quit: Leaving]
<c-c> aerv: now find out what matches the whitespace after # in test string, and put it in place of \t
icharlie has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 260 seconds]
icharlie has joined #ruby
<aerv> c-c: \t is not working
blackwind_123 has joined #ruby
reverberations has quit [Ping timeout: 250 seconds]
<c-c> aerv: just try matching one part at a time, and then combine them
<c-c> its probably \s and one or more
<c-c> good luck!
icharlie has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
nankyokusei has quit [Ping timeout: 246 seconds]
reverberations has joined #ruby
bronson has joined #ruby
Jackneill has joined #ruby
lightstalker has quit [Ping timeout: 260 seconds]
meshsmith has quit [Remote host closed the connection]
blackwind_123 has quit [Ping timeout: 258 seconds]
bronson has quit [Ping timeout: 248 seconds]
lightstalker has joined #ruby
enterprisey has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
cibs has quit [Ping timeout: 268 seconds]
grenierm has quit [Quit: grenierm]
grenierm has joined #ruby
grenierm has quit [Client Quit]
cibs has joined #ruby
gbgdev has joined #ruby
gbgdev has quit [Ping timeout: 246 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
h1fuelcell has joined #ruby
nofxx has quit [Ping timeout: 258 seconds]
h1fuelcell has quit [Ping timeout: 268 seconds]
Guest79799 has quit [Remote host closed the connection]
alxgsv has quit [Remote host closed the connection]
Satyajit has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 245 seconds]
tubuliferous_ has quit [Ping timeout: 245 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
djbkd_ has quit [Remote host closed the connection]
djbkd_ has joined #ruby
aryaching has joined #ruby
hahuang61 has joined #ruby
Devalo has joined #ruby
djbkd_ has quit [Ping timeout: 246 seconds]
aerv has quit [Quit: Page closed]
hahuang61 has quit [Ping timeout: 258 seconds]
brianpWins has quit [Quit: brianpWins]
codfection has joined #ruby
frozengeek has joined #ruby
TomyLobo has joined #ruby
marr has joined #ruby
raatiniemi has joined #ruby
conta has joined #ruby
frozengeek has quit [Read error: Connection reset by peer]
frozengeek has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
dnicole has joined #ruby
postmodern has quit [Quit: Leaving]
frozengeek has quit [Remote host closed the connection]
frozengeek has joined #ruby
frozengeek has quit [Client Quit]
jaguarmagenta has joined #ruby
h1fuelcell has joined #ruby
jaguarma_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 268 seconds]
yardenbar has joined #ruby
h1fuelcell has quit [Ping timeout: 265 seconds]
ResidentBiscuit has joined #ruby
x0f has quit [Ping timeout: 260 seconds]
tildes has joined #ruby
nankyokusei has joined #ruby
howdoi has joined #ruby
Fernando-Basso has joined #ruby
ResidentBiscuit has quit [Ping timeout: 258 seconds]
dnicole has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 252 seconds]
nankyokusei has quit [Ping timeout: 258 seconds]
Coldblackice has quit []
yaw_ has joined #ruby
x0f has joined #ruby
tildes has joined #ruby
yaw has quit [Ping timeout: 256 seconds]
x0f has quit [Ping timeout: 245 seconds]
conta has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
jaguarma_ has quit [Remote host closed the connection]
icharlie has joined #ruby
Coldblackice has joined #ruby
x0f has joined #ruby
lele has quit [Ping timeout: 260 seconds]
x0f has quit [Ping timeout: 264 seconds]
lele has joined #ruby
<c-c> Why does ruby return -4712 for the current year with Datetime.new :D
montanonic has joined #ruby
icharlie has quit [Ping timeout: 258 seconds]
<apeiros> why should it return something else?
nadir has quit [Quit: Connection closed for inactivity]
<c-c> ok, I was doing it wrong
<c-c> >> require 'date'; ddd = DateTime.now.strftime('%FT%T')
<ruby[bot]> c-c: # => "2016-12-17T10:09:15" (https://eval.in/699544)
nettoweb has joined #ruby
<c-c> B)
<apeiros> as for where the value comes from: https://en.wikipedia.org/wiki/Julian_day
nettoweb has quit [Client Quit]
x0f has joined #ruby
Ropeney has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
jgt has joined #ruby
x0f has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
Dimik has quit [Ping timeout: 250 seconds]
Devalo has quit [Ping timeout: 250 seconds]
x0f has joined #ruby
beilabs has joined #ruby
h1fuelcell has joined #ruby
bronson has quit [Ping timeout: 250 seconds]
x0f has quit [Ping timeout: 268 seconds]
h1fuelcell has quit [Ping timeout: 258 seconds]
tildes has quit [Ping timeout: 240 seconds]
hahuang61 has joined #ruby
alexherbo2 has joined #ruby
x0f has joined #ruby
hahuang61 has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
nettoweb has joined #ruby
x0f_ has joined #ruby
girobiro has quit [Ping timeout: 268 seconds]
x0f has quit [Ping timeout: 260 seconds]
x0f_ has quit [Ping timeout: 260 seconds]
ta_ has quit [Remote host closed the connection]
Devalo has joined #ruby
balo has joined #ruby
aryaching has quit [Ping timeout: 256 seconds]
aryaching has joined #ruby
alexherbo2 has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
fullofcaffeine has joined #ruby
h1fuelcell has joined #ruby
icharlie has joined #ruby
frozengeek has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 245 seconds]
fullofcaffeine has quit [Ping timeout: 258 seconds]
hutch34 has joined #ruby
icharlie has quit [Ping timeout: 258 seconds]
marr has quit [Ping timeout: 258 seconds]
frozengeek has quit [Ping timeout: 245 seconds]
h1fuelcell has joined #ruby
mim1k|work has quit [Read error: Connection reset by peer]
mim1k|work has joined #ruby
nankyokusei has quit [Remote host closed the connection]
jdawgaz has joined #ruby
frozengeek has joined #ruby
conta has joined #ruby
byte512 has joined #ruby
<tekeli-li> require date => NameError: undefined local variable or method `date' for main:Object
<tekeli-li> ^ why?
alexherbo2 has joined #ruby
toretore has joined #ruby
blackwind_123 has joined #ruby
ta_ has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
<hanmac> tekeli-li: you need "date"
<tekeli-li> hanmac, Is it not part of the ruby standard library?
<apeiros> tekeli-li: becaues require is a method which takes a string (the path) as argument
ledestin has joined #ruby
<apeiros> tekeli-li: and a bareword `date` is interpreted either as a local variable (if present) or a method call (`date()` effectively) otherwise.
Gravious has joined #ruby
nikivi has joined #ruby
<tekeli-li> Oh, ho!
<tekeli-li> yes, that was it. thanks apeiros :)
<tekeli-li> require("date") => true
brendan- has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.6]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Derderderd has quit [Ping timeout: 250 seconds]
nettoweb1 has joined #ruby
bruce_lee has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
n008f4g_ has joined #ruby
nettoweb has quit [Ping timeout: 258 seconds]
al2o3-cr has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Remote host closed the connection]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
UserJosh has joined #ruby
tpendragon has quit [Ping timeout: 258 seconds]
jshjsh has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
jaguarmagenta has joined #ruby
maattdd has joined #ruby
Anonymoose2 has joined #ruby
marr has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 245 seconds]
reverberations has quit [Ping timeout: 245 seconds]
marr has quit [Remote host closed the connection]
icharlie has joined #ruby
maattdd has quit [Ping timeout: 250 seconds]
gbgdev has joined #ruby
nankyokusei has joined #ruby
icharlie has quit [Ping timeout: 258 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
Gravious has quit [Ping timeout: 260 seconds]
beilabs_ has joined #ruby
montanonic has quit [Ping timeout: 258 seconds]
dar123 has joined #ruby
Macaveli has joined #ruby
beilabs has quit [Ping timeout: 258 seconds]
bronson has joined #ruby
shinnya has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
jgt has quit [Ping timeout: 260 seconds]
girobiro has joined #ruby
hahuang61 has joined #ruby
agent_white has quit [Quit: goodnightmoon]
Macaveli has quit [Ping timeout: 245 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
beilabs_ has quit [Remote host closed the connection]
nankyokusei has joined #ruby
Derderderd has joined #ruby
kith has joined #ruby
Macaveli has joined #ruby
sepp2k has joined #ruby
quazimodo has joined #ruby
Macaveli has quit [Client Quit]
angrybuzzy has joined #ruby
beilabs has joined #ruby
angrybuzzy has quit [Client Quit]
Derderderd has quit [Ping timeout: 250 seconds]
symm has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
paramourne has quit [Ping timeout: 250 seconds]
<c-c> what should I use for quad tree?
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
paramourne has joined #ruby
thyrix has joined #ruby
matp has joined #ruby
sdothum has joined #ruby
matp_ has quit [Ping timeout: 250 seconds]
nikivi has quit [Quit: zzz]
<apeiros> what's a quad tree?
<apeiros> I see (https://en.wikipedia.org/wiki/Quadtree) - either look whether an existing gem fits your purpose or write a custom class.
<apeiros> if you don't want to write a custom class (IMO not a good idea), I'd resort to nested arrays.
<c-c> for me its a datatype that might be initial scene grapg
Macaveli has joined #ruby
saneax is now known as saneax-_-|AFK
Devalo has joined #ruby
<gener1c> quad tree
<gener1c> kdtree algo
synthroid has joined #ruby
nikivi has joined #ruby
sepp2k has quit [Ping timeout: 268 seconds]
sepp2k has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 250 seconds]
tildes has joined #ruby
hahuang65 has joined #ruby
beilabs has quit [Read error: Connection reset by peer]
jschoolcraft has quit [Quit: peace]
beilabs has joined #ruby
ta_ has joined #ruby
montanonic has joined #ruby
nikivi has quit [Quit: irc]
nankyokusei has quit [Remote host closed the connection]
SpiffTR has joined #ruby
Ax has joined #ruby
tildes has quit [Ping timeout: 264 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 240 seconds]
cajone has left #ruby [#ruby]
nankyokusei has joined #ruby
Ax has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
jgt has joined #ruby
Ax has joined #ruby
jdawgaz has joined #ruby
zero7 has quit [Quit: Connection closed for inactivity]
gnufied__ has quit [Quit: Leaving]
GodFather has quit [Remote host closed the connection]
cajone has joined #ruby
ResidentBiscuit has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
Alina-malina is now known as eviL-sivlE
jdawgaz has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
eviL-sivlE is now known as Alina-malina
<gener1c> is it possible to use map with more than one vector like in python
<gener1c> array*
<toretore> what does that mean?
<gener1c> for example
Derderderd has joined #ruby
<gener1c> map(lambda x,y,[1,2,3], [1,2,3])
<gener1c> ah wait i have a typo
<toretore> describe what it does
<gener1c> map(lambda x,y: x+y,[1,2,3], [1,2,3])
ResidentBiscuit has quit [Ping timeout: 240 seconds]
<gener1c> it goes over all the elements in both arrays one by one and sums them , (corresponding indices)
GodFather has joined #ruby
<gener1c> the thing is its very flexible
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gener1c> i can do it with 2 , 3, 4 etc arrays
<gener1c> the lambda defines what map does ofcourse
<toretore> as map is a method called on a single object, not in the way you're describing it no
<gener1c> yeah i was wondering if there is a way to do it on 2 objects
<toretore> it's not difficult to do the same thing in various ways
<gener1c> some sort of merge map
<toretore> you can zip the arrays and then map the result
<gener1c> [1,2,3].each_with_index {|x,i| .. }
<gener1c> ah cool
<Papierkorb> gener1c: Use #zip
<gener1c> zip+map is an awesome idea
nankyokusei has quit [Ping timeout: 264 seconds]
<al2o3-cr> [1,2,3].zip([1,2,3]).map { |n| n.inject(:+) }
<toretore> >> [1,2,3].zip([4, 5, 6], [7, 8, 9]).map{|(a,b,c)| a + b + c }
<ruby[bot]> toretore: # => [12, 15, 18] (https://eval.in/699662)
<al2o3-cr> too late
<gener1c> yeah it makes pairs
<gener1c> so sexy
<Papierkorb> >> [1,2,3].zip([4, 5, 6], [7, 8, 9]).map{|a,b,c| a + b + c }
<ruby[bot]> Papierkorb: # => [12, 15, 18] (https://eval.in/699663)
<gener1c> what does inject do
<Papierkorb> toretore, gener1c: You don't need the () there for this case
<toretore> i find that being explicit is better
<Papierkorb> The underlying implementation yields an array, which is auto splatted if the block expects multiple arguments
<al2o3-cr> it's basically doing n.+(x).+(y) ..
<al2o3-cr> &ri inject gener1c
Derderderd has quit [Ping timeout: 256 seconds]
<gener1c> okz
<gener1c> reduce and inject are the same thing?
<al2o3-cr> gener1c: yep
<gener1c> ohhh
<gener1c> ok
ta_ has quit [Remote host closed the connection]
<Papierkorb> gener1c: There are (imho sadly) quite a bunch of aliased methods in Enumerable, so one methods under multiple names. Another example is #collect and #map
<al2o3-cr> yeah, and things like collect_concat for flat_map
<al2o3-cr> which i don't think i've ever seen used
<gener1c> flat_map
<gener1c> that simply flattens all nested structures recursivly in map
<gener1c> while doing map
<gener1c> no?
<Papierkorb> It doesn't do it recursively
<gener1c> ah just one level
blackbombay has quit [Ping timeout: 260 seconds]
<Papierkorb> The end result is equivalent to `ary.map{..}.flatten(1)`
thyrix has quit [Quit: Leaving]
<gener1c> sweet
<Papierkorb> But you should prefer #flat_map over that
<gener1c> why is that?
SpiffTR has quit [Quit: Leaving.]
<gener1c> more readable?
<apeiros> and more efficient
<Papierkorb> It's faster and easier to understand/readable
Fernando-Basso has quit [Remote host closed the connection]
sepp2k1 has joined #ruby
<gener1c> i am just wondering why a single level flatten is such a common case
girobiro has quit [Ping timeout: 260 seconds]
<gener1c> is it because of promise arrays and stuff like that"/
<Papierkorb> It happens when you want a #map but want to return multiple values instead of strictly one
sepp2k has quit [Ping timeout: 248 seconds]
<gener1c> x,y,z = [1,2,3].flat_map {|x| x}
<gener1c> x,y,z = [1,2,3].map {|x| x}
<gener1c> i assume you dont mean deconstructionj
<Papierkorb> No, as in your codes above, the #map/#flat_map call is redundant
<gener1c> make the resulting list bigger
Cra2yZer0 has joined #ruby
<al2o3-cr> >> [[[1],[2],[3]].map(&:itself), [[1],[2],[3]].flat_map(&:itself)]
<ruby[bot]> al2o3-cr: # => [[[1], [2], [3]], [1, 2, 3]] (https://eval.in/699664)
<al2o3-cr> ah, that's a pretty shitty example tbh
<gener1c> i dont quire understand the parameter syntax
<gener1c> quite*
jaguarmagenta has joined #ruby
<gener1c> &:itself
<Papierkorb> The & prefix indicates a block, like in a function prototype: `def foo(bar, &block)`
<al2o3-cr> gener1c: it's the same as [1,2,3].map { |x| x }
<al2o3-cr> oh, the &
<gener1c> [1,2,3].map(&:n+1)
<Papierkorb> Now when calling something and the last argument starts with a ampersand ("&"), then it will be treated as block by taking the following expression and calling #to_proc on it
<Papierkorb> gener1c: That won't work though, the syntax is limited to simple calls on the object itself with NO arguments
<Papierkorb> >> [1,2,3].map(&:to_s)
<ruby[bot]> Papierkorb: # => ["1", "2", "3"] (https://eval.in/699665)
<gener1c> ohh so just method calls
<gener1c> [[1],[2],[3]].map(&:n.map {|n| n+1})
<Papierkorb> Neither.
<gener1c> :(
<Papierkorb> (*cough* we can do stuff like that in Crystal-lang)
<gener1c> hehe
nowz has joined #ruby
<Papierkorb> It's enough surprisingly often though, mind you
<gener1c> i want to read about its limitations
<gener1c> what do i google?
<gener1c> i mean the ampersand syntax
<gener1c> i still dont have a grasp on it
<Papierkorb> I wrote its semantics above gener1c
alex0ptr has joined #ruby
<gener1c> kk
jaguarmagenta has quit [Ping timeout: 264 seconds]
<Papierkorb> >> a = { "foo" => "bar", "one" => "two" }; "foo one".gsub(/#{Regexp.union a.keys}/, &a)
<ruby[bot]> Papierkorb: # => "bar two" (https://eval.in/699669)
Ax has quit [Quit: Ax]
aryaching has quit [Ping timeout: 258 seconds]
<gener1c> this is cool
<Papierkorb> gener1c: Look at the `&a`. In newer ruby versions, Hash defines a #to_proc, which is a Proc expecting one argument, which then returns the value of the key (given as argument)
icharlie has joined #ruby
Gravious has joined #ruby
<gener1c> this would work without a &
maattdd has joined #ruby
<Papierkorb> It would, but only because String#gsub accepts a Hash too
<gener1c> so essentially you turned a lookup table into a switchcase function automagically?
<Papierkorb> By using Hash#to_proc, basically, yes
cdg has joined #ruby
synthroi_ has joined #ruby
<gener1c> so essentially & is a to_proc invocation and nothing more
<Papierkorb> It is, it passes the Proc into a block, which you can't do otherwise
<gener1c> ah ok
<Papierkorb> *it turns
icharlie has quit [Ping timeout: 240 seconds]
<gener1c> ill name it "the good old proc&block" from now on
<gener1c> :|
synthroid has quit [Ping timeout: 268 seconds]
maattdd has quit [Ping timeout: 265 seconds]
chris2 is now known as leah2
Cra2yZer0 has quit [Remote host closed the connection]
Definity has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
houhoulis has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
konsolebox has joined #ruby
xall has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
Derderderd has joined #ruby
hahuang61 has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
konsolebox has quit [Read error: Connection reset by peer]
blackbombay has joined #ruby
cibs has joined #ruby
h1fuelcell has joined #ruby
Derderderd has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Ping timeout: 258 seconds]
nettoweb has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
montanonic has quit [Ping timeout: 264 seconds]
elastix has joined #ruby
dkam has joined #ruby
tekeli-li has quit [Quit: Leaving]
marchelzo_ has joined #ruby
<marchelzo_> hi
<marchelzo_> why is mruby's Array#each implemented in Ruby and not C?
Guest17281 has quit [Quit: ZNC - http://znc.in]
blackbombay has quit [Ping timeout: 245 seconds]
blackbombay has joined #ruby
pawnbox has joined #ruby
houhoulis has quit [Remote host closed the connection]
<al2o3-cr> marchelzo_: to hazard a guess for portablility but idk
thyrix has joined #ruby
giraffe has joined #ruby
giraffe has quit [Max SendQ exceeded]
thyrix has quit [Max SendQ exceeded]
thyrix has joined #ruby
tpendragon has joined #ruby
pawnbox has quit [Remote host closed the connection]
xall has quit [Ping timeout: 265 seconds]
giraffe has joined #ruby
giraffe has quit [Max SendQ exceeded]
xall has joined #ruby
giraffe has joined #ruby
giraffe is now known as Guest78216
ryan_notabot has joined #ruby
nadir has joined #ruby
PaschalsWager has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Definity has quit [Ping timeout: 245 seconds]
TheCubeLord has joined #ruby
maattdd has joined #ruby
Bacta has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
thyrix has quit [Quit: Leaving]
thyrix has joined #ruby
thyrix_ has joined #ruby
DLSteve has joined #ruby
cibs has joined #ruby
thyrix_ has quit [Read error: Connection reset by peer]
saneax-_-|AFK is now known as saneax
thyrix has quit [Read error: Connection reset by peer]
thyrix has joined #ruby
psychicist__ has joined #ruby
[gmi] has joined #ruby
psychicist__ has quit [Client Quit]
thyrix has quit [Client Quit]
thyrix has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maattdd has quit [Ping timeout: 250 seconds]
xall has quit [Ping timeout: 265 seconds]
Salih has joined #ruby
Macaveli has joined #ruby
xall has joined #ruby
saneax is now known as saneax-_-|AFK
houhoulis has joined #ruby
jshjsh has joined #ruby
marchelzo_ has quit [Quit: marchelzo_]
UserJosh has quit [Ping timeout: 268 seconds]
chouhoulis has joined #ruby
fullofcaffeine has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
j3r0 has quit [Ping timeout: 250 seconds]
djbkd_ has joined #ruby
saneax-_-|AFK is now known as saneax
Derderderd has joined #ruby
houhoulis has quit [Remote host closed the connection]
thyrix has quit [Remote host closed the connection]
houhoulis has joined #ruby
fullofcaffeine has quit [Ping timeout: 258 seconds]
dkam has quit [Ping timeout: 245 seconds]
synthroid has joined #ruby
houhoulis has quit [Ping timeout: 240 seconds]
jaguarmagenta has joined #ruby
h1fuelcell has joined #ruby
Derderderd has quit [Ping timeout: 258 seconds]
synthroi_ has quit [Ping timeout: 258 seconds]
nowz has quit [Quit: Leaving]
nankyokusei has joined #ruby
nikivi has joined #ruby
cfec0b8d has quit [Read error: Connection reset by peer]
houhoulis has joined #ruby
swills has quit [Ping timeout: 250 seconds]
h1fuelcell has quit [Ping timeout: 265 seconds]
Fernando-Basso has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
muelleme has joined #ruby
Gravious has quit [Ping timeout: 260 seconds]
houhoulis has quit [Remote host closed the connection]
h1fuelcell has joined #ruby
blackbombay has quit [Ping timeout: 268 seconds]
harai_ has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
blackbombay has joined #ruby
pawnbox has joined #ruby
milardovich has quit [Client Quit]
milardovich has joined #ruby
h1fuelcell has quit [Ping timeout: 268 seconds]
blackwind_123 has quit [Quit: IceChat - It's what Cool People use]
icharlie has joined #ruby
aryaching has joined #ruby
yaw_ has quit [Ping timeout: 258 seconds]
madgen has joined #ruby
icharlie has quit [Ping timeout: 258 seconds]
dviola has joined #ruby
d0nn1e has quit [Ping timeout: 264 seconds]
fullofcaffeine has joined #ruby
d0nn1e has joined #ruby
Pachonk has joined #ruby
bronson has joined #ruby
Definity has joined #ruby
yaw has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
xall has quit [Read error: Connection reset by peer]
muelleme has quit [Ping timeout: 250 seconds]
mwlang has quit [Quit: mwlang]
hahuang61 has joined #ruby
banisterfiend has joined #ruby
Derderderd has joined #ruby
jhack has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
Gravious has joined #ruby
nikivi has quit [Quit: irc]
Derderderd has quit [Ping timeout: 256 seconds]
minimalism has joined #ruby
conta has quit [Ping timeout: 252 seconds]
girobiro has joined #ruby
brianpWins has joined #ruby
girobiro has quit [Ping timeout: 265 seconds]
milardovich has quit [Remote host closed the connection]
Pachonk has quit [Ping timeout: 264 seconds]
h1fuelcell has joined #ruby
milardovich has joined #ruby
h1fuelcell has quit [Ping timeout: 256 seconds]
djbkd_ has quit [Remote host closed the connection]
adam_ has quit [Quit: Connection closed for inactivity]
milardovich has quit [Ping timeout: 258 seconds]
madgen has quit [Quit: Lost terminal]
djbkd_ has joined #ruby
Satyajit has joined #ruby
x0f has joined #ruby
pawnbox has quit [Remote host closed the connection]
djbkd_ has quit [Ping timeout: 240 seconds]
alxgsv has joined #ruby
x0f has quit [Ping timeout: 258 seconds]
icharlie has joined #ruby
dar123 has joined #ruby
pawnbox has joined #ruby
zel has joined #ruby
zel is now known as Guest61107
icharlie has quit [Ping timeout: 245 seconds]
dar123 has quit [Ping timeout: 258 seconds]
Kazlock has joined #ruby
Derderderd has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
maattdd has joined #ruby
x0f has joined #ruby
x0f has quit [Ping timeout: 258 seconds]
brianpWins_ has joined #ruby
milardovich has joined #ruby
brianpWins has quit [Ping timeout: 240 seconds]
brianpWins_ is now known as brianpWins
maattdd has quit [Ping timeout: 250 seconds]
jhack has quit [Quit: jhack]
milardovich has quit [Ping timeout: 258 seconds]
alex0ptr has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
nunchuck has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
enilsen16 has joined #ruby
Kazlock has quit [Ping timeout: 265 seconds]
enilsen16 has quit [Client Quit]
djbkd_ has joined #ruby
Anonymoose2 has quit [Ping timeout: 248 seconds]
enilsen16 has joined #ruby
milardovich has joined #ruby
houhoulis has joined #ruby
Devalo has quit [Ping timeout: 268 seconds]
djbkd_ has quit [Ping timeout: 245 seconds]
ruby-lang352 has joined #ruby
aBound has joined #ruby
nankyokusei has joined #ruby
_djbkd has joined #ruby
aBound has left #ruby ["Leaving"]
dviola has quit [Quit: WeeChat 1.6]
diego1 has joined #ruby
enilsen16 has quit [Quit: enilsen16]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as dviola
enilsen16 has joined #ruby
saneax is now known as saneax-_-|AFK
enilsen16 has quit [Client Quit]
bradleyprice has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
nicoulaj has quit [Remote host closed the connection]
nicoulaj has joined #ruby
maattdd has joined #ruby
rkoller has joined #ruby
dionysus69 has joined #ruby
tubuliferous_ has joined #ruby
maattdd has quit [Ping timeout: 245 seconds]
h1fuelcell has joined #ruby
ruby-lang352 has quit [Ping timeout: 260 seconds]
Moeh has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
h1fuelcell has quit [Ping timeout: 250 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
hahuang65 has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 258 seconds]
pwnd_nsfw` has joined #ruby
kares has quit [Quit: ...]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
icharlie has joined #ruby
conta has joined #ruby
Devalo has joined #ruby
LuckyABA has joined #ruby
icharlie has quit [Ping timeout: 245 seconds]
girobiro has joined #ruby
LuckyABA has quit [Client Quit]
Ishido has joined #ruby
conta has quit [Ping timeout: 256 seconds]
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
houhoulis has quit [Remote host closed the connection]
ramfjord has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
bronson has joined #ruby
gheegh has joined #ruby
bronson has quit [Ping timeout: 258 seconds]
Devalo has quit [Remote host closed the connection]
jshjsh has quit [Quit: Leaving]
Devalo has joined #ruby
yaw has quit [Ping timeout: 265 seconds]
Derderderd has quit [Ping timeout: 240 seconds]
h1fuelcell has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
elastix has quit [Quit: Leaving]
hahuang61 has joined #ruby
konsolebox has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
h1fuelcell has quit [Ping timeout: 258 seconds]
XV8 has quit [Quit: Textual IRC Client: www.textualapp.com]
dionysus69 has joined #ruby
girobiro has quit [Ping timeout: 246 seconds]
maattdd has joined #ruby
tubuliferous_ has quit [Ping timeout: 246 seconds]
milardovich has joined #ruby
Devalo has joined #ruby
LuckyABA has joined #ruby
_djbkd has quit [Remote host closed the connection]
djbkd_ has joined #ruby
_djbkd has joined #ruby
bayed has joined #ruby
frozengeek has quit [Quit: frozengeek]
enterprisey has joined #ruby
frozengeek has joined #ruby
frozengeek has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 258 seconds]
__main__ has joined #ruby
djbkd_ has quit [Ping timeout: 268 seconds]
icharlie has joined #ruby
_djbkd has quit [Ping timeout: 268 seconds]
cibs has quit [Ping timeout: 268 seconds]
gheegh has quit [Ping timeout: 268 seconds]
cibs has joined #ruby
houhoulis has joined #ruby
houhoulis has quit [Remote host closed the connection]
ChrisWilding has joined #ruby
milardovich has joined #ruby
maattdd has quit [Ping timeout: 252 seconds]
hutch34 has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
c355e3b has quit [Quit: Connection closed for inactivity]
hutch34 has quit [Ping timeout: 250 seconds]
TPug has joined #ruby
uxp_ has quit [Ping timeout: 244 seconds]
ChrisWilding has quit [Quit: leaving]
ChrisWilding has joined #ruby
chouhoulis has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 264 seconds]
jgt1 has joined #ruby
_djbkd has joined #ruby
ChrisWilding has quit [Quit: leaving]
jgt has quit [Ping timeout: 246 seconds]
ChrisWilding has joined #ruby
ChrisWilding is now known as Guest51485
Guest51485 has quit [Client Quit]
ChrisWil1ing has joined #ruby
Dimik has joined #ruby
maattdd has joined #ruby
ChrisWil1ing has quit [Client Quit]
h1fuelcell has joined #ruby
ChrisWil1ing has joined #ruby
ChrisWil1ing has quit [Client Quit]
ChrisWil1ing has joined #ruby
maattdd has quit [Ping timeout: 240 seconds]
symm has quit [Ping timeout: 246 seconds]
nankyokusei has joined #ruby
milardovich has joined #ruby
codfection has quit [Ping timeout: 250 seconds]
icharlie has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 268 seconds]
milardov_ has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
antoniobeyah has joined #ruby
dENNISZ has quit [Read error: Connection reset by peer]
milardov_ has quit [Ping timeout: 268 seconds]
hahuang65 has quit [Quit: WeeChat 1.4]
dionysus69 has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
djbkd_ has joined #ruby
dnicole has joined #ruby
djbkd_ has quit [Ping timeout: 260 seconds]
Bacta has quit [Quit: Leaving]
beilabs has quit [Remote host closed the connection]
synthroid has quit []
jgt1 has quit [Ping timeout: 265 seconds]
symm has joined #ruby
Salih has quit [Quit: Leaving]
frozengeek has joined #ruby
sepp2k1 has quit [Quit: Leaving.]
sepp2k has joined #ruby
beilabs has joined #ruby
j0sephDive has joined #ruby
milardovich has joined #ruby
nebg has quit [Ping timeout: 245 seconds]
sepp2k has quit [Client Quit]
nebg has joined #ruby
sp4rrow has joined #ruby
bronson has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 240 seconds]
naprimer has quit [Ping timeout: 250 seconds]
naprimer_2 has joined #ruby
ReK2 has quit [Remote host closed the connection]
Derderderd has joined #ruby
Devalo has quit [Remote host closed the connection]
hahuang61 has joined #ruby
reverberations has joined #ruby
Devalo has joined #ruby
ReK2 has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
frozengeek has quit [Quit: frozengeek]
blackbombay has quit [Ping timeout: 256 seconds]
frozengeek has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
hahuang61 has quit [Ping timeout: 260 seconds]
tubuliferous_ has joined #ruby
nikivi has joined #ruby
Jackneill has quit [Remote host closed the connection]
ChrisWil1ing has quit [Ping timeout: 258 seconds]
pawnbox has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
snath has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 240 seconds]
snath has left #ruby [#ruby]
byte512 has quit [Ping timeout: 252 seconds]
sepp2k has joined #ruby
elvin has joined #ruby
elvin has quit [Client Quit]
ChrisWilding has joined #ruby
mistergibson has joined #ruby
SteenJobs has joined #ruby
Rodya_ has joined #ruby
ChrisWilding has quit [Ping timeout: 250 seconds]
milardovich has joined #ruby
scootaloo has joined #ruby
dcluna has joined #ruby
sp4rrow has quit [Read error: Connection reset by peer]
milardovich has quit [Ping timeout: 260 seconds]
sp4rrow has joined #ruby
tubuliferous_ has quit [Ping timeout: 246 seconds]
icharlie has joined #ruby
eightbitraptor has joined #ruby
icharlie_ has joined #ruby
frozengeek has quit [Quit: frozengeek]
icharlie has quit [Ping timeout: 258 seconds]
millerti has joined #ruby
eightbitraptor has quit [Ping timeout: 258 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_djbkd has quit [Quit: My people need me...]
Coldblackice has quit []
LoneHerm_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
dviola has quit [Ping timeout: 252 seconds]
Coldblackice has joined #ruby
ChrisWilding has joined #ruby
blackbombay has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as dviola
nullfxn has quit [Quit: leaving]
cajone has left #ruby [#ruby]
andrzeju_ has quit [Quit: Ex-Chat]
andrzeju_ has joined #ruby
nankyokusei has joined #ruby
milardovich has joined #ruby
pawnbox has quit [Remote host closed the connection]
milardovich has quit [Ping timeout: 245 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
JoshS has joined #ruby
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
BubonicPestilenc has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.6]
<BubonicPestilenc> ruby-lang is dead?
<BubonicPestilenc> (channel)
cajone has joined #ruby
<havenwood> BubonicPestilenc: This is the merged, official channel now.
<BubonicPestilenc> got it, thx
solars has joined #ruby
<BubonicPestilenc> apeiros still there, <3 him, helped me a lot :)
<apeiros> you're welcome :)
<BubonicPestilenc> because i'm being totally ignored on varnish channel, maybe there is someone fluent with varnish-cache? )
<apeiros> not me
milardovich has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
SpiffTR has joined #ruby
TheCubeLord has quit [Ping timeout: 260 seconds]
milardovich has quit [Ping timeout: 264 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
dnicole has quit [Read error: Connection reset by peer]
dnicole has joined #ruby
Axy has quit [Read error: Connection reset by peer]
hotpanca_ has joined #ruby
zacts has quit [Ping timeout: 246 seconds]
ChrisWilding has quit [Ping timeout: 260 seconds]
ChrisWilding has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
A124 has quit [Remote host closed the connection]
cajone1 has joined #ruby
cajone has quit [Read error: Connection reset by peer]
A124 has joined #ruby
gtaylor1 has joined #ruby
SpiffTR has quit [Quit: Leaving.]
<gtaylor1> Why does "File.each_line('file.txt') do |li|" give me an "undefined method `each_line' for File:Class (NoMethodError)" using ruby 2.0.0 ?
<Zarthus> because File does not have a method called each_line. String does.
millerti has joined #ruby
<Zarthus> ruby 2.0.0 is also quite old :P
al2o3-cr has quit [Ping timeout: 250 seconds]
teclator has quit [Ping timeout: 246 seconds]
millerti has quit [Max SendQ exceeded]
tubuliferous_ has joined #ruby
teclator has joined #ruby
<gtaylor1> I got the example from stack overflow... And File is a descendant of IO which does have each_line. So am confused.
<go|dfish> File.open('file.txt').each_line
<Zarthus> man, Ruby's docs really are shit aren't they.
quazimodo has joined #ruby
<havenwood> gtaylor1: It's File#each_line not File::each_line (an instance method not a class method).
<havenwood> gtaylor1: See: ::foreach and ::readlines
<gtaylor1> OK so :: means class method and # means instance.
<havenwood> gtaylor1: yup
gbgdev has quit [Remote host closed the connection]
<gtaylor1> Off to read. Thanks.
hahuang61 has joined #ruby
konsolebox has quit [Quit: Leaving]
Devalo has joined #ruby
ttilley has joined #ruby
ttilley has quit [Changing host]
ttilley has joined #ruby
milardovich has joined #ruby
al2o3-cr has joined #ruby
milardovich has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
milardovich has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
al2o3-cr_ has joined #ruby
hahuang61 has quit [Ping timeout: 258 seconds]
Devalo has quit [Ping timeout: 248 seconds]
al2o3-cr has quit [Disconnected by services]
al2o3-cr_ is now known as al2o3-cr
ta_ has joined #ruby
toretore has quit [Ping timeout: 245 seconds]
tubuliferous_ has quit [Ping timeout: 268 seconds]
PaschalsWager has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 265 seconds]
BubonicPestilenc has quit [Quit: Textual IRC Client: www.textualapp.com]
ChrisWilding has quit [Quit: leaving]
UserJosh has joined #ruby
UserJosh is now known as JoshS
iooner has quit [Quit: http://www.iooner.me]
jshjsh has quit [Ping timeout: 268 seconds]
Gravious_ has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
hotpanca_ has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Moeh has quit [Quit: Textual IRC Client: www.textualapp.com]
claw has quit [Ping timeout: 246 seconds]
Gravious has quit [Ping timeout: 258 seconds]
enterprisey has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
ruby394 has joined #ruby
claw has joined #ruby
JoshS has quit [Quit: Leaving]
hotpancakes has quit [Ping timeout: 252 seconds]
Mia has joined #ruby
saneax-_-|AFK is now known as saneax
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
h1fuelcell has quit [Remote host closed the connection]
hotpanca_ has joined #ruby
milardovich has quit [Ping timeout: 252 seconds]
icharlie_ has quit [Ping timeout: 245 seconds]
<ttilley> back
Pachonk has joined #ruby
ttilley has quit [Quit: Linkinus - http://linkinus.com]
solars has quit [Quit: Page closed]
tubuliferous_ has joined #ruby
Gravious_ has quit [Quit: leaving]
chouhoulis has joined #ruby
tubuliferous_ has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 258 seconds]
nankyokusei has joined #ruby
hightower2 has joined #ruby
nikivi has quit [Quit: irc]
hotpanca_ has quit [Remote host closed the connection]
hightower3 has quit [Ping timeout: 268 seconds]
kies has quit [Ping timeout: 246 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
<cippaciong> Hello, I was having a hard time trying to run my first test using `bundler exec ruby tests/myunit_test.rb` and I solved it by adding minitest to my Gemfile. Why is this needed having minitest included in ruby?
rgiscard has joined #ruby
moei has joined #ruby
beilabs has quit [Remote host closed the connection]
arescorpio has joined #ruby
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
antoniobeyah has quit [Quit: antoniobeyah]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
Rich_Morin has joined #ruby
enterprisey has joined #ruby
lxsameer has quit [Quit: WeeChat 1.6]