havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
jenrzzz has quit [Ping timeout: 268 seconds]
RegulationD has joined #ruby
n008f4g_ has joined #ruby
lemur has joined #ruby
GodFather has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
rkazak has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 246 seconds]
GodFather has joined #ruby
Synthead has joined #ruby
Es0teric has joined #ruby
lemur has quit [Ping timeout: 250 seconds]
neohunter has joined #ruby
karmatr0n has quit [Ping timeout: 252 seconds]
Ormm has quit [Quit: Nettalk6 - www.ntalk.de]
ramfjord has joined #ruby
rodfersou has quit [Quit: leaving]
aeterne has quit [Remote host closed the connection]
Gasher has quit [Quit: Leaving]
Cohedrin has joined #ruby
brent_ has joined #ruby
rake_db_migrate has joined #ruby
rcvalle has quit [Quit: rcvalle]
johnmilton has joined #ruby
d0nn1e has quit [Ping timeout: 246 seconds]
rake_db_migrate has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
d0nn1e has joined #ruby
blackmesa has joined #ruby
pifon has joined #ruby
pifon has quit [Remote host closed the connection]
youch has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
krz has quit [Ping timeout: 244 seconds]
rake_db_migrate has joined #ruby
blackmesa has quit [Ping timeout: 248 seconds]
blackgoat has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
stantona has quit [Ping timeout: 276 seconds]
benlieb has quit [Quit: benlieb]
Seeq has joined #ruby
rake_db_migrate has quit [Remote host closed the connection]
Uranio has quit [Quit: Leaving]
marr has quit [Ping timeout: 248 seconds]
Musashi007 has joined #ruby
krz has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has quit [Ping timeout: 250 seconds]
LuckyABA has joined #ruby
neohunter has quit [Quit: Textual IRC Client: www.textualapp.com]
AustinMatherne has quit [Remote host closed the connection]
AustinMatherne has joined #ruby
tax has joined #ruby
RegulationD has joined #ruby
blackgoat has joined #ruby
s2013 has joined #ruby
shmuli has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
ta_ has joined #ruby
hxegon has quit [Quit: BRB]
hxegon has joined #ruby
hahuang65 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
ta_ has quit [Ping timeout: 246 seconds]
dvinciguerra__ has quit [Ping timeout: 260 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
badleaf has joined #ruby
CloCkWeRX has quit [Ping timeout: 246 seconds]
diegoviola has joined #ruby
PaulCapestany has quit [Quit: .]
jackjackdripper has quit [Quit: Leaving.]
duderonomy has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bob434 has joined #ruby
_blizzy_ has joined #ruby
crazydiamond has quit [Ping timeout: 246 seconds]
PaulCapestany has joined #ruby
Cohedrin has joined #ruby
DLSteve has joined #ruby
dravine has quit [Quit: dravine]
B1n4r10 has joined #ruby
idletask has quit [Ping timeout: 248 seconds]
benlieb has joined #ruby
arescorpio has joined #ruby
ericlee has joined #ruby
badleaf has quit [Quit: Leaving]
joaumg has joined #ruby
Musashi007 has joined #ruby
hahuang65 has quit [Ping timeout: 250 seconds]
hxegon has quit [Quit: BRB]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diegoviola is now known as Guest34123
diego2 is now known as diegoviola
blackmesa has quit [Ping timeout: 240 seconds]
shmuli has joined #ruby
n008f4g_ has quit [Ping timeout: 252 seconds]
Guest34123 has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
bry4n_ has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smckee has quit [Remote host closed the connection]
rbennacer has joined #ruby
CloCkWeRX has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
bakedb has quit [Remote host closed the connection]
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diegoviola is now known as Guest61302
diego2 is now known as diegoviola
bkxd has quit [Ping timeout: 244 seconds]
Cohedrin has joined #ruby
Inside has joined #ruby
Inside has joined #ruby
Guest61302 has quit [Ping timeout: 276 seconds]
tax has quit [Ping timeout: 248 seconds]
dravine has joined #ruby
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diegoviola is now known as Guest2359
benlieb has quit [Quit: benlieb]
Azure|dc has quit [Remote host closed the connection]
diego2 is now known as diegoviola
Guest2359 has quit [Ping timeout: 264 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
rbennacer has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 260 seconds]
karmatr0n has joined #ruby
symm- has quit [Ping timeout: 248 seconds]
Azure has joined #ruby
smckee_ has joined #ruby
davedev24 has quit []
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Azure has quit [Client Quit]
smckee has joined #ruby
krz has quit [Ping timeout: 268 seconds]
karmatr0n has quit [Ping timeout: 244 seconds]
smckee_ has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
rbennacer has joined #ruby
smckee has quit [Ping timeout: 250 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
sadin has joined #ruby
diegoviola is now known as Guest77956
diego2 is now known as diegoviola
Guest77956 has quit [Ping timeout: 260 seconds]
nullwarp has quit [Quit: ZNC - http://znc.in]
Azure has joined #ruby
tax has joined #ruby
chipotle has quit [Quit: cheerio]
Digpig has joined #ruby
pawnbox has joined #ruby
ta_ has joined #ruby
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
nullwarp has joined #ruby
diego3 has joined #ruby
yfeldblum has quit [Remote host closed the connection]
chipotle has joined #ruby
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
diegoviola has quit [Ping timeout: 244 seconds]
diego4 has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
diego2 has quit [Ping timeout: 248 seconds]
ta_ has quit [Ping timeout: 246 seconds]
diego3 has quit [Ping timeout: 250 seconds]
htmldrum has quit [Quit: Lost terminal]
baweaver has joined #ruby
stantona has joined #ruby
shmuli_ has joined #ruby
freerobby has joined #ruby
baweaver has quit [Ping timeout: 268 seconds]
mistermocha has joined #ruby
sudoubuntu has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
shmuli has quit [Ping timeout: 250 seconds]
blackgoat has quit [Ping timeout: 246 seconds]
Musashi007 has quit [Quit: Musashi007]
diegoaguilar has quit [Read error: Connection reset by peer]
<shevy> wheee
hahuang65 has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
blackgoat has joined #ruby
blackmesa has joined #ruby
devbug has quit [Quit: ZZZzzz…]
hahuang65 has quit [Ping timeout: 260 seconds]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
mistermocha has joined #ruby
nibbo has quit [Ping timeout: 240 seconds]
diego4 has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
citrusfizz has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackgoat has quit [Ping timeout: 260 seconds]
mistermocha has quit [Ping timeout: 268 seconds]
tmtwd has joined #ruby
s2013 has joined #ruby
claw has quit [Read error: Connection reset by peer]
devbug has joined #ruby
claw has joined #ruby
klka has joined #ruby
rbennacer has quit [Remote host closed the connection]
Digpig has quit [Ping timeout: 260 seconds]
sadin has quit [Quit: Leaving]
sudoubuntu has joined #ruby
Digpig has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<klka> I installed ruby using rbenv, it is possible to copy the files ~/rbenv to similar linux and run ruby there?
<eam> quite likely, but not necessarily
karmatr0n has joined #ruby
<klka> and add it to PATH env?
<klka> what do you mean eam
rbennacer has joined #ruby
nibbo has joined #ruby
<eam> copying compiled binaries between linux systems tends to work for similar architectures and linux versions, but doesn't always
goglosh has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
<eam> it's surprisingly easy to encounter architecture conflicts, even within x86
<eam> or of course, differing library dependencies
<eam> depends on the two systems and how you compiled your rubies
Chagel has joined #ruby
sgambino has joined #ruby
<goglosh> I have a question
<klka> thanks eam
<goglosh> is irb written in ruby'
<goglosh> ?
<eam> goglosh: yes
<goglosh> thanks
<eam> it's very easy to make your own irb!
<goglosh> :) you got me there
karmatr0n has quit [Ping timeout: 244 seconds]
<eam> goglosh: ruby -pe1
<eam> there's no prompt, but type in something like 1 + 1
<eam> er oops
<goglosh> ooh I get it
<eam> I mean ruby -pe'$_=eval $_'
<eam> :)
<goglosh> well kind of
<goglosh> ok
<eam> -pe1 is just cat
* goglosh was wondering what the 1 stood for
<goglosh> anyway, I got the source to ruby but
<goglosh> it doesn't seem to come with that of irb or
<goglosh> anything else really
<eam> -e1 is just a way to give ruby a short program that does nothing
<goglosh> oh
<eam> say, if you only want the effect of the other fancy args like -p
kies has joined #ruby
<eam> goglosh: check lib/irb
<eam> and bin/irb for the stub that executes it
<goglosh> thanks!
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
<goglosh> it's kind of hard to see that with all the *.c files right there at the root dir
<goglosh> several files!
<Ox0ded> goglosh: `ls --group` is good.
<goglosh> didn't know about that switch
Zggb has joined #ruby
<goglosh> this shall keep me busy for a while
mistermocha has joined #ruby
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
porkaroo has joined #ruby
<goglosh> thanks people
HouseMD has joined #ruby
<goglosh> oh of course .irbrc is a thing
<goglosh> I should've known
mistermocha has quit [Ping timeout: 264 seconds]
HouseMD is now known as GG
devbug has quit [Quit: ZZZzzz…]
ta_ has joined #ruby
Chagel_ has joined #ruby
paradisaeidae has joined #ruby
yfeldblum has joined #ruby
baweaver has joined #ruby
Chagel has quit [Ping timeout: 264 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
sdwrage has joined #ruby
j2k_ has quit [Ping timeout: 250 seconds]
Rasi has quit [Ping timeout: 268 seconds]
ta_ has quit [Ping timeout: 276 seconds]
x0f has quit [Ping timeout: 250 seconds]
matp has quit [Ping timeout: 250 seconds]
nano- has quit [Ping timeout: 250 seconds]
nano- has joined #ruby
abyx has joined #ruby
heyjim has quit [Ping timeout: 268 seconds]
MuffinPimp has quit [Ping timeout: 250 seconds]
j2k has joined #ruby
abyx has quit [Client Quit]
x0f has joined #ruby
mosez has quit [Ping timeout: 250 seconds]
kam270 has quit [Ping timeout: 248 seconds]
braincrash has quit [Quit: bye bye]
genpaku_ has joined #ruby
pikajude has quit [Ping timeout: 268 seconds]
shmuli_ has quit [Ping timeout: 250 seconds]
MuffinPimp has joined #ruby
Guest12896__ is now known as zrl
mosez has joined #ruby
pikajude has joined #ruby
pikajude has joined #ruby
rbennacer has quit [Remote host closed the connection]
genpaku has quit [Remote host closed the connection]
genpaku_ is now known as genpaku
shmuli has joined #ruby
marcdel has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
rubie has quit [Remote host closed the connection]
matp has joined #ruby
Rasi has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
s2013 has joined #ruby
Musashi007 has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
braincrash has joined #ruby
diegoaguilar has joined #ruby
Suntzu has quit [Ping timeout: 268 seconds]
crameth has joined #ruby
Suntzu has joined #ruby
tomchapin has joined #ruby
hahuang65 has joined #ruby
stevenxl has joined #ruby
porkaroo has quit [Ping timeout: 248 seconds]
tomchapi_ has quit [Ping timeout: 260 seconds]
decoponyo has joined #ruby
zast has joined #ruby
smathy is now known as smathy_afk
banister has quit [Ping timeout: 250 seconds]
decoponio has quit [Ping timeout: 268 seconds]
blackmesa has joined #ruby
s1kx has quit [Ping timeout: 250 seconds]
oz has quit [Ping timeout: 250 seconds]
oz has joined #ruby
ensyde_ has quit [Quit: Leaving]
hahuang65 has quit [Ping timeout: 244 seconds]
banister has joined #ruby
decoponyo has quit [Max SendQ exceeded]
ramfjord has quit [Ping timeout: 268 seconds]
Musashi007 has quit [Quit: Musashi007]
s1kx has joined #ruby
decoponio has joined #ruby
chipotle has joined #ruby
bkxd has joined #ruby
cdg has quit [Remote host closed the connection]
gix has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
dravine has quit [Quit: dravine]
bkxd has quit [Ping timeout: 240 seconds]
klka has quit [Remote host closed the connection]
safe has joined #ruby
gix has joined #ruby
pawnbox has joined #ruby
RickHull has joined #ruby
mozzarella has quit [Ping timeout: 250 seconds]
pifon has joined #ruby
tjvc has quit [Ping timeout: 268 seconds]
tmtwd has quit [Ping timeout: 264 seconds]
josephan has joined #ruby
snoobydoo has joined #ruby
tjvc has joined #ruby
tjvc has quit [Changing host]
tjvc has joined #ruby
rubie has joined #ruby
<josephan> I have "lib/poker.rb" that loads another file using located in "lib/poker/round.rb". I am using "require_relative 'poker/round'" to load the second file but I am still getting Uninitialized Constant Error. Is it easy to identify what I did wrong?
karmatr0n has joined #ruby
youch has quit [Ping timeout: 244 seconds]
<shevy> josephan if the constant is in that second file, then this means that the file was not loaded
marcdel has quit [Ping timeout: 244 seconds]
<Ox0ded> josephan: It must be that "poker/round.rb" is using some constant defined in "poker.rb"; you're loading it before the constant exists.
<Ox0ded> You can either separate everything out into "lib/poker/" and just have "poker.rb" require everything in there, or sin a little and have some requires at the bottom of "poker.rb".
karmatr0n has quit [Ping timeout: 260 seconds]
B1n4r10 has joined #ruby
benlieb has joined #ruby
<goglosh> Ox0ded: you once showed me away to see the compiled instructions of ruby code
mrgrieves has joined #ruby
<goglosh> what was the module or whatever it was again?
jsaak has quit [Ping timeout: 250 seconds]
jsaak has joined #ruby
<Ox0ded> goglosh: I'm sure I did. Sorry about that. :P
<goglosh> lol
<goglosh> don't be. I wanna see that again
<goglosh> even if it means my doom
pwnd_nsfw` has quit [Read error: Connection reset by peer]
weemsledeux has quit [Ping timeout: 268 seconds]
<goglosh> thanks!
<Ox0ded> Sure thing. `RubyVM::InstructionSequence.new('17 + 25').to_a` is less noisy if the code you want to check is a String.
<Ox0ded> The format and instruction names have changed slightly between versions, so mind those dragons.
<goglosh> okay
mozzarella has joined #ruby
<goglosh> and say, isthere a way to give single instructions?
sekrit has quit [Ping timeout: 612 seconds]
<goglosh> nvm let me first understand how this works
Dimik has quit [Read error: Connection reset by peer]
<Ox0ded> goglosh: I recently used it to show somebody how to pull the outermost method call out of a block: https://eval.in/541123
scepticulous has quit [Ping timeout: 244 seconds]
<Ox0ded> That'd break on versions prior to 2.2, though, where that instruction was instead called `opt_send_simple`.
pwnd_nsfw has joined #ruby
<goglosh> that's hard to read
johnmilton has quit [Remote host closed the connection]
<goglosh> :P
mrgrieves has quit [Ping timeout: 276 seconds]
<Ox0ded> Thanks.
solocshaw has quit [Ping timeout: 268 seconds]
<goglosh> burakku majiku
<goglosh> I'll stick to the easy stuff for now :`
Spami has quit [Quit: This computer has gone to sleep]
freerobby has quit [Quit: Leaving.]
<Ox0ded> Fair enough. That aspect of Ruby isn't really meant for human consumption.
ta_ has joined #ruby
<josephan> Ox0ded: Thank you! You were absolutely correct.
<Ox0ded> josephan: Happy to help. :)
jenrzzz has quit [Ping timeout: 252 seconds]
<goglosh> why do we have access to it then?
<Ox0ded> Why not?
<goglosh> or is it for the AI overlords'
tildes_ has joined #ruby
<Ox0ded> I mean, it's used internally for keeping everything nice and modular. It just so happens that it's exported to userland for the weirdos that want to play with it.
fedexo has joined #ruby
<goglosh> are you
<goglosh> calling me a weirdo?
ta_ has quit [Ping timeout: 246 seconds]
<goglosh> gee
<Ox0ded> You just said it wasn't your bag?
<goglosh> I said I'll stick to the human stuff FOR NOW :)
<goglosh> is it weird to want to write in raw ruby bytecode?
sekrit has joined #ruby
mtkd has quit [Ping timeout: 252 seconds]
devbug has joined #ruby
mtkd has joined #ruby
<goglosh> :P
<shevy> depends on what you want to do
<shevy> what do you want to do with these instructions?
Inside has quit [Ping timeout: 260 seconds]
<goglosh> a debuggger
Renich has quit [Ping timeout: 246 seconds]
<goglosh> (but as I said I'm not ready yet)
pifon has quit [Ping timeout: 244 seconds]
<shevy> well that would fit then I suppose
benlieb has quit [Quit: benlieb]
bry4n_ has quit [Ping timeout: 268 seconds]
benlieb has joined #ruby
blackgoat has joined #ruby
hahuang65 has joined #ruby
elifoster has joined #ruby
karioleez has joined #ruby
existensil has quit [Ping timeout: 252 seconds]
safe has quit [Quit: Leaving]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ruby-lang586 has joined #ruby
arescorpio has quit [Excess Flood]
blackmesa has joined #ruby
duncannz has joined #ruby
josephan has quit [Ping timeout: 250 seconds]
hahuang65 has quit [Ping timeout: 248 seconds]
ruby-lang859 has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang586 has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
_blizzy_ has quit [Quit: Leaving]
amclain has quit [Quit: Leaving]
blackmesa has quit [Ping timeout: 248 seconds]
Yeomra has quit [Ping timeout: 260 seconds]
Musashi007 has joined #ruby
bkxd has quit [Ping timeout: 268 seconds]
ruby-lang859 has quit [Ping timeout: 250 seconds]
pifon has joined #ruby
BtcBen has joined #ruby
pifon has quit [Max SendQ exceeded]
bob434 has quit [Quit: This computer has gone to sleep]
pifon has joined #ruby
pifon has quit [Max SendQ exceeded]
bob434 has joined #ruby
pifon has joined #ruby
marcdel has joined #ruby
auzty has joined #ruby
pifon has quit [Max SendQ exceeded]
pifon has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
pifon has quit [Client Quit]
karmatr0n has joined #ruby
pifon has joined #ruby
jt__ has joined #ruby
tonini has joined #ruby
Chagel_ has quit [Remote host closed the connection]
dravine has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
pifon has quit [Max SendQ exceeded]
pifon has joined #ruby
darkf_ has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has quit [Quit: Musashi007]
darkf has quit [Ping timeout: 244 seconds]
noService has joined #ruby
rbennacer has quit [Remote host closed the connection]
noService has quit [Ping timeout: 246 seconds]
marcdel has quit [Ping timeout: 248 seconds]
B1n4r10 has quit [Ping timeout: 246 seconds]
rbennacer has joined #ruby
Cooooo has joined #ruby
ta_ has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
nodejunkie has joined #ruby
mitt3ns has joined #ruby
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
<agent_white> Evenin'
ta_ has quit [Ping timeout: 246 seconds]
tildes_ has quit [Ping timeout: 244 seconds]
rbennacer has quit [Ping timeout: 260 seconds]
rbennace_ has joined #ruby
bry4n_ has joined #ruby
kies has quit [Ping timeout: 246 seconds]
nartes has joined #ruby
blackgoat has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
merida has joined #ruby
zast has quit [Remote host closed the connection]
mojca has joined #ruby
rbennace_ has quit [Ping timeout: 268 seconds]
astrobun_ has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
leftpad has quit [Remote host closed the connection]
hahuang65 has joined #ruby
Mia has quit [Read error: Connection reset by peer]
shmuli has quit [Remote host closed the connection]
Devalo has joined #ruby
Cooooo has quit [Remote host closed the connection]
krz has joined #ruby
shmuli has joined #ruby
karioleez has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 264 seconds]
marcdel has joined #ruby
blackmesa has joined #ruby
AnoHito_ has quit [Ping timeout: 260 seconds]
merida_ has joined #ruby
krz has quit [Quit: WeeChat 1.2]
yfeldblu_ has joined #ruby
czerasz has joined #ruby
merida has quit [Ping timeout: 248 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
moeabdol1 has joined #ruby
fschuindt has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
yfeldblu_ has quit [Ping timeout: 248 seconds]
tildes_ has joined #ruby
<fschuindt> Hello folks, any tip on how to build a monitor for a certain screen position (looking for changes). Like a sensor that will fire off when determined area in the screen changes.
moeabdol2 has joined #ruby
elifoster has quit [Ping timeout: 260 seconds]
jt__ has quit [Remote host closed the connection]
jokester has quit [Quit: recharge]
moeabdol1 has quit [Ping timeout: 260 seconds]
abyx has joined #ruby
abyx has quit [Client Quit]
fedexo has quit [Ping timeout: 248 seconds]
dopie_ has joined #ruby
Lomex has joined #ruby
fedexo has joined #ruby
astrobun_ has quit [Remote host closed the connection]
mrgrieves has joined #ruby
weaksauce has joined #ruby
marcoecc has quit [Read error: Connection reset by peer]
marcoecc has joined #ruby
Lomex has quit [Ping timeout: 246 seconds]
mrgrieves has quit [Ping timeout: 248 seconds]
dopie_ has quit [Quit: Lost terminal]
jokester has joined #ruby
oliver___ has joined #ruby
Eiam_ has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
tildes_ has quit [Ping timeout: 248 seconds]
marcdel has quit [Ping timeout: 248 seconds]
Brando753 has left #ruby ["WeeChat 1.4"]
astrobun_ has joined #ruby
djbkd_ has joined #ruby
jokester has quit [Quit: WeeChat 1.4]
jokester has joined #ruby
noService has joined #ruby
saneax_AFK is now known as saneax
merida has joined #ruby
merida_ has quit [Read error: Connection reset by peer]
merida_ has joined #ruby
A5101 has joined #ruby
rubie has quit [Remote host closed the connection]
sauvin has joined #ruby
djbkd has quit [Remote host closed the connection]
merida has quit [Ping timeout: 276 seconds]
abyx has joined #ruby
abyx has quit [Client Quit]
BTRE has quit [Ping timeout: 246 seconds]
raeoks has joined #ruby
lxsameer has joined #ruby
karioleez has joined #ruby
krz has joined #ruby
ssiris has quit [Quit: End of Line]
karioleez has quit [Remote host closed the connection]
karioleez has joined #ruby
lsmola has joined #ruby
karioleez is now known as kareeoleez
blt has quit [Ping timeout: 276 seconds]
blackgoat has joined #ruby
merida has joined #ruby
aganov has joined #ruby
joonty has joined #ruby
rbennacer has joined #ruby
existensil has joined #ruby
hk238 has joined #ruby
joonty has quit [Client Quit]
tubuliferous has quit [Ping timeout: 260 seconds]
goglosh has quit [Quit: yeah]
merida_ has quit [Ping timeout: 276 seconds]
pelegreno has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby
Devalo has quit [Remote host closed the connection]
hahuang65 has joined #ruby
pelegreno has joined #ruby
kareeoleez has quit []
agit0 has quit [Quit: zzzZZZ….]
kareeoleez has joined #ruby
Pupp3tm4st3r has joined #ruby
RyanMcCoskrie has joined #ruby
snoobydoo has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
hahuang65 has quit [Ping timeout: 246 seconds]
czerasz has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
tubuliferous has joined #ruby
snoobydoo has joined #ruby
firstdayonthejob has joined #ruby
fedexo has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
djbkd_ has quit [Remote host closed the connection]
rbennacer has quit [Read error: Connection reset by peer]
idletask has joined #ruby
abyx has joined #ruby
badleaf has joined #ruby
Macaveli has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
abyx has quit [Client Quit]
BtcBen has quit [Ping timeout: 244 seconds]
dn` has joined #ruby
Zggb has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CausaMortis has joined #ruby
mark3 has joined #ruby
rbennacer has joined #ruby
benlieb has quit [Quit: benlieb]
czerasz has joined #ruby
blt has joined #ruby
vale_tudo has quit [Ping timeout: 260 seconds]
astrobun_ has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 252 seconds]
andikr has joined #ruby
speakingcode has quit [Ping timeout: 260 seconds]
dionysus69 has joined #ruby
yfeldblum has joined #ruby
ta_ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
czerasz has quit [Ping timeout: 268 seconds]
yfeldblum has joined #ruby
rbennacer has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
tubuliferous has quit [Ping timeout: 248 seconds]
firstdayonthejob has quit [Ping timeout: 264 seconds]
vdamewood has quit [Quit: Life beckons.]
Chagel has joined #ruby
astrobun_ has joined #ruby
marcdel has joined #ruby
gagrio-gone is now known as gagrio
Digpig has quit [Quit: Konversation terminated!]
rbennacer has quit [Ping timeout: 244 seconds]
speakingcode has joined #ruby
darkf_ is now known as darkf
TvL2386 has quit [Quit: Ex-Chat]
A5101 has quit [Quit: Leaving]
BTRE has joined #ruby
nhhc has joined #ruby
biberu has joined #ruby
ur5us has quit [Remote host closed the connection]
agit0 has joined #ruby
djbkd has joined #ruby
codecop has joined #ruby
krz has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 252 seconds]
mojca has quit [Quit: mojca]
skade has joined #ruby
postmodern has quit [Quit: Leaving]
ag4ve has joined #ruby
krz has joined #ruby
<ag4ve> i'm not sure what ruby doesn't like with these groups - it seems to be having issues with '-' and ',' in them http://sprunge.us/BYeP
<ag4ve> but idk how to fix it
<ag4ve> also it doesn't seem to like my use of \( which is weird
mhoungbo has joined #ruby
Pupp3tm4st3r has quit [Quit: Leaving...]
sQVe has joined #ruby
Couch has joined #ruby
<ag4ve> (i'm coming from the perl world - trying to create a chef ohai plugin - so it's probable i've got other issues the lexer hasn't gotten to but the regex stuff is stumping me)
jaruga__ has joined #ruby
anisha has joined #ruby
ur5us has joined #ruby
jaruga___ has joined #ruby
mburns has quit [Ping timeout: 248 seconds]
antgel has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
hahuang65 has joined #ruby
aufi has joined #ruby
Bloomer has joined #ruby
jaruga__ has quit [Ping timeout: 260 seconds]
mburns has joined #ruby
<Ox0ded> ag4ve: You totally found a bug.
mojca has joined #ruby
solars has joined #ruby
Macaveli has joined #ruby
SCHAAP137 has joined #ruby
TvL2386 has joined #ruby
<Ox0ded> The '/' in "user/group" on Line 41 isn't being interpreted as part of the comment.
hahuang65 has quit [Ping timeout: 268 seconds]
paatalaBhairavi has joined #ruby
<ag4ve> seriously?
bkxd has joined #ruby
paatalaBhairavi has quit [Client Quit]
<Ox0ded> Well, removing it does away with all the syntax errors.
<ag4ve> ha, well, ok i guess that'x my fix then - y'all got a bugs ml?
<ag4ve> or if you want to handle it since i don't really know ruby...
<Ox0ded> I'm trying to see whether it's documented behavior, but that seems unlikely.
djbkd has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 248 seconds]
blackmesa has joined #ruby
<ag4ve> my first ruby script and i trip over it :)
<Ox0ded> Leave it to a Perler. :P
<adaedra> Hello
marcdel has quit [Ping timeout: 252 seconds]
* adaedra resuscitates Ox0ded
<Ox0ded> Morning, adaedra.
Ox0ded is now known as Ox0dea
<Ox0dea> And thank you kindly.
pandaant has joined #ruby
<adaedra> My pleasure.
bkxd has quit [Ping timeout: 244 seconds]
<Ox0dea> I'd been dead ever since somebody mistyped my call sign as "Delta Echo Delta".
Emmanuel_Chanel has joined #ruby
<ag4ve> heh
<ag4ve> btw, while i'm here - any easy way to concatinate lines from a file when the last ended in '\' ?
<ag4ve> (i'm pretty sure i don't handle command lines w/ comments at the end either, but...)
blackmesa has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 260 seconds]
<Caerus> maan... sinus infection and studying ruby (or anything for that matter) don't go along :(
<ag4ve> line.gsub(/#.*/,'') will be fine wrt comments in command lines - i have no idea how to concatinate w/ the next line when the last char is '/' though
Madplatypus has joined #ruby
<Ox0dea> ag4ve: `lines.each_cons(2)` lets you process them pair-wise.
Pupeno has quit [Remote host closed the connection]
<ag4ve> ah ty
<Ox0dea> ag4ve: So, er, I guess /foo/ Regexp literals really ought to permit /s in comments, but it probably makes everything gnarlier than is warranted for something so small.
Chagel_ has joined #ruby
<Ox0dea> If you're dead-set on having the slash in, `%r{foo} == /foo/`.
<djellemah> ag4ve: I'd use a custom Enumerator for concatenating lines, but that might be overkill if you're new at ruby.
<Ox0dea> Aye, you'd ideally want to walk them individually and maintain a simple state machine.
<Ox0dea> But doing it with #each_cons is dirty and exciting. :P
Chagel has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
<djellemah> :-O right up perler's street...
vale_tudo has joined #ruby
pawnbox has quit [Remote host closed the connection]
Pupeno has joined #ruby
pawnbox has joined #ruby
diegoaguilar has joined #ruby
mojca has quit [Quit: mojca]
rbennacer has joined #ruby
vale_tudo has quit [Ping timeout: 244 seconds]
Pupeno has quit [Remote host closed the connection]
merida has quit [Remote host closed the connection]
jenrzzz has joined #ruby
mikecmpbll has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
terlar has joined #ruby
kam270 has joined #ruby
Xeago has joined #ruby
dling has quit [Ping timeout: 276 seconds]
<djellemah> ag4ve: if you feel like doing a bug report https://redmine.ruby-lang.org/
rbennacer has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> Heh: https://git.io/vVKEr
jaruga___ has quit [Quit: jaruga___]
djbkd has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
devbug has quit [Quit: ZZZzzz…]
pawnbox has joined #ruby
Chagel_ has quit [Remote host closed the connection]
Chagel has joined #ruby
badleaf has quit [Ping timeout: 246 seconds]
<ag4ve> ah thanks - i'll make the bug report so it's known - now that i know, i don't much care if it's fixed
rbennacer has quit [Ping timeout: 246 seconds]
<ag4ve> though i would've assumed the parser would stop looking after # anyway
jero_ has quit [Ping timeout: 244 seconds]
<ag4ve> well, # outside of character classes and not \#
mikecmpbll has joined #ruby
<ag4ve> iirc i saw a (?#...) for comments in the middle of a regex which seemed weird to me, but i guess that's your third edge case
skade has quit [Quit: Computer has gone to sleep.]
<Ox0dea> ag4ve: Well, when you think about it, you have to escape every other slash if you're using a /foo/ Regexp.
<Ox0dea> I'm not sure whether that rule should be broken for embedded comments.
rbennacer has joined #ruby
<Ox0dea> Onigmo *could* permit raw slashes in character classes, but it would unduly complicate things, and I think the same logic can be applied for comments.
czerasz has joined #ruby
tvw has joined #ruby
DoubleMalt has joined #ruby
rolha has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
tubuliferous has joined #ruby
<ag4ve> my issue is parsing after a bare # w/ /x - after it hits # it shouldn't try any farther
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ag4ve> idk if there are any unicode or ebdic cases that i'm not considering (i don't think so) but...
<ag4ve> (or if ruby even compiles on a mainframe :P )
<ag4ve> *ebcdic
the_drow has joined #ruby
ur5us has quit [Remote host closed the connection]
Devalo has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
nodejunkie has quit [Ping timeout: 252 seconds]
Ropeney has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
karmatr0n has joined #ruby
hahuang65 has joined #ruby
x77686d has quit [Quit: x77686d]
devbug has joined #ruby
yfeldblum has quit [Ping timeout: 248 seconds]
Devalo has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
Bloomer has quit [Remote host closed the connection]
devbug has quit [Client Quit]
devbug has joined #ruby
jt__ has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
hahuang65 has quit [Ping timeout: 248 seconds]
devbug has quit [Client Quit]
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
Bloomer has joined #ruby
Bloomer has quit [Read error: Connection reset by peer]
marcdel has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
<manveru> ag4ve: it's more likely to be a bug in oniguruma
<manveru> though ruby forked that, so in the end it's up to matz and co to fix it :)
<Ox0dea> I don't think anything's broken. :x
<Ox0dea> The comments are still "part of" the Regexp, and so have their syntax slightly constrained.
<manveru> oh wait, it's working with %r?
blackmesa has joined #ruby
<manveru> then, nevermind, didn't read all the history ^^;
Xeago has quit [Read error: Connection reset by peer]
<ag4ve> i guess then the constraint should at least be documented (though that wouldn't've helped me - i wouldn't've thought to look at a comment constraint)
rbennacer has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
polll has joined #ruby
mrgrieves has joined #ruby
<ag4ve> btw, is %r{...} considered the "right way" vs /.../ ?
snoobydoo has quit [Ping timeout: 260 seconds]
<manveru> usually, yeah
madgen has joined #ruby
<Ox0dea> ?
<manveru> %r() or %r{} or %r[] or %r!! or %r%% or %r@@ or ...
<manveru> you'll feel right at home from perl :)
Eis has joined #ruby
elaptics`away is now known as elaptics
jenrzzz has quit [Ping timeout: 250 seconds]
jaruga__ has joined #ruby
jaruga__ is now known as jaruga___
Eis has left #ruby [#ruby]
blackmesa has quit [Ping timeout: 276 seconds]
devbug has joined #ruby
crameth has quit [Read error: Connection reset by peer]
<ag4ve> from perl, not really used to doing m/.../ when i just want a simple (well, ok - simple-ish) regex - but different language - i'll adapt
baweaver has joined #ruby
<ag4ve> <rant> kinda sucks though that i work w/ ruby devs that couldn't help w/ this - i'm a sysadmin, not a dev </rant>
<Ox0dea> I just... looked at the line number of the first error?
brent_ has quit [Quit: Connection closed for inactivity]
AnoHito has joined #ruby
ljames has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
schpn has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
schpn has quit [Max SendQ exceeded]
<tobiasvl> ag4ve: if your ruby devs couldn't help you with that they should be fired. ;P
ferr has joined #ruby
skislak has joined #ruby
kits has joined #ruby
Snowy has joined #ruby
marr has joined #ruby
merida has joined #ruby
skislak has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
shmuli has quit [Remote host closed the connection]
Pupeno has joined #ruby
senayar has joined #ruby
skade has joined #ruby
EdwardIII has joined #ruby
marcdel has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
rbennace_ has joined #ruby
polll has quit []
djbkd has quit [Ping timeout: 244 seconds]
pawnbox has quit [Ping timeout: 276 seconds]
shmuli has joined #ruby
mojca has joined #ruby
snoobydoo has joined #ruby
madgen has quit [Ping timeout: 248 seconds]
devbug has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
rodfersou has joined #ruby
Mon_Ouie has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby
snoobydoo has quit [Ping timeout: 244 seconds]
platzhirsch has joined #ruby
rbennace_ has quit [Ping timeout: 264 seconds]
tesuji has joined #ruby
madgen has joined #ruby
Pupeno_ has joined #ruby
skislak has joined #ruby
jmorgado has joined #ruby
Pupeno has quit [Ping timeout: 268 seconds]
oliver___ has quit []
rbennacer has joined #ruby
workmad3_ has joined #ruby
norc has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
neanderslob_ has quit [Ping timeout: 260 seconds]
neanderslob_ has joined #ruby
Devalo has joined #ruby
hahuang65 has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
tristanp has quit [Ping timeout: 240 seconds]
merida_ has joined #ruby
evidex has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
skade has joined #ruby
jt__ has quit [Remote host closed the connection]
AnoHito_ has joined #ruby
bkxd has joined #ruby
hahuang65 has quit [Ping timeout: 244 seconds]
jas02 has joined #ruby
merida has quit [Ping timeout: 248 seconds]
jgt4 has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
patrick_star_3 has joined #ruby
nhhc has quit [Quit: Leaving]
AnoHito has quit [Ping timeout: 264 seconds]
jas02 has left #ruby [#ruby]
bkxd has quit [Ping timeout: 244 seconds]
patrick_star_2 has quit [Ping timeout: 244 seconds]
ur5us has quit [Remote host closed the connection]
rbennace_ has joined #ruby
nartes has quit [Read error: Connection reset by peer]
<ag4ve> how do i declare w/ a boolean like: cap['type'] = (cap['type'] = '%' ? 'group' : 'user')
rbennacer has quit [Ping timeout: 276 seconds]
pifon has quit [Quit: Leaving]
blackmesa has joined #ruby
<ag4ve> not sure if == should be eq either
cwenner has joined #ruby
<ag4ve> errr
<tobiasvl> well the second = should probably be ==
<ag4ve> cap['type'] = (cap['type'] == '%' ? 'group' : 'user')
<tobiasvl> that looks good
<Ox0dea> It's... syntactically valid. :P
<ag4ve> and yeah, that's not working - it should, right?\
<Ox0dea> >> cap = {'type' => '%'}; cap['type'] = (cap['type'] == '%' ? 'group' : 'user'); cap
<ruby[bot]> Ox0dea: # => {"type"=>"group"} (https://eval.in/549117)
<Ox0dea> It's pretty gross, though; why is `cap['type'] == '%'` ever the case?
<ag4ve> man sudoers :P
<ag4ve> i didn't make up their syntax
rolha has quit [Quit: Textual IRC Client: www.textualapp.com]
<Ox0dea> Ah, yeah, fair enough.
evidex has quit [Remote host closed the connection]
<tobiasvl> ag4ve: how is it not working though?
evidex has joined #ruby
yfeldblum has joined #ruby
moeabdol2 has quit [Ping timeout: 250 seconds]
<ag4ve> sec
rbennace_ has quit [Ping timeout: 240 seconds]
<ag4ve> works w/o that line
<ag4ve> also tried it in parens
_blizzy_ has joined #ruby
arquebus has joined #ruby
<ag4ve> mmmm, i wonder if i should be testing defined?
bkxd has joined #ruby
<ag4ve> or == nil
shmuli has quit [Remote host closed the connection]
Pupeno_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
cpup has quit [Ping timeout: 240 seconds]
<norc> Ox0dea: Working with grammars I have come to realise wonderful things.
<norc> Like did you know that "void;" is a syntactically legal declaration in C...
<workmad3_> ag4ve: the problem appears to be that `cap` is a MatchData object from a regexp match... and that doesn't support `[]=` (which is what `cap["foobar"] = <something>` does)
<ag4ve> meh, == nil doesn't work either - something else that idk
Swey_Hey has joined #ruby
agent_white has quit [Quit: gnight]
cpup has joined #ruby
<ag4ve> oooo, of course i can't redefine that - yeah that makes perfect sense - doh
<Ox0dea> ag4ve: Of course you can. It'd just be a really weird thing to do. :P
<ag4ve> so, how do i copy cap into a plain array of strings?
<Ox0dea> &ri MatchData#captures ag4ve
bkxd has quit [Ping timeout: 276 seconds]
<Ox0dea> norc: I mean, `return;` is secretly `return void;`, right?
moeabdol2 has joined #ruby
Spami has joined #ruby
<norc> Ox0dea: That would not be legal.
rbennacer has quit [Ping timeout: 260 seconds]
<norc> The statement mentioned above is actually a declaration (that does not declare anything, so decent compilers will just ignore it)
marcdel has joined #ruby
<Ox0dea> > warning: useless type name in empty declaration
<Ox0dea> When is it not useless?
bkxd has joined #ruby
<norc> It never is. Its just an artifcat of the LALR syntax.
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<norc> Its unavoidable without making the syntax involving declarations a lot more complicated.
<gregf_> >> str = "foo bar baz"; /(?<Foo>\w+)\s+(?<Bar>\w+)\s+(?<Baz>\w+)/ =~ str; [ Foo,Bar, Baz]
<ruby[bot]> gregf_: # => uninitialized constant Foo (NameError) ...check link for more (https://eval.in/549124)
<Ox0dea> gregf_: Locals only. :)
<gregf_> agave: str = "foo bar baz"; str =~ /(?<f>\w+)\s+(?<b>\w+)\s+(?<baz>\w+)/; p $~.captures # i know that in Perl that would be just list context
mhoungbo has quit [Ping timeout: 276 seconds]
<Ox0dea> Someone on the mailing list wants instance variables to be valid there.
<gregf_> ooh. sorry
rbennacer has joined #ruby
djbkd has joined #ruby
marcdel has quit [Ping timeout: 250 seconds]
workmad3_ is now known as workmad3
shmuli has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
GodFather has quit [Ping timeout: 248 seconds]
Pupeno has joined #ruby
rbennacer has quit [Ping timeout: 264 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RyanMcCoskrie has quit [Quit: Konversation terminated!]
djbkd has quit [Ping timeout: 252 seconds]
chipotle has quit [Quit: cheerio]
tubuliferous has joined #ruby
jaruga__ has joined #ruby
jaruga__ has quit [Client Quit]
shmuli has quit [Remote host closed the connection]
rbennacer has joined #ruby
jaruga__ has joined #ruby
jaruga___ has quit [Ping timeout: 252 seconds]
mhoungbo has joined #ruby
ziyadb has joined #ruby
snoobydoo has joined #ruby
ocbtec has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
jaruga__ has quit [Remote host closed the connection]
jaruga__ has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
Hoffman has quit []
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
jt__ has joined #ruby
Pupeno has quit [Remote host closed the connection]
arquebus has quit [Quit: Textual IRC Client: www.textualapp.com]
rbennacer has joined #ruby
jt__ has quit [Remote host closed the connection]
johnbat26 has joined #ruby
evidex has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 246 seconds]
<ag4ve> so it seems captures doesn't work w/ named captures (docs say it returns an array)
<ag4ve> and $~.captures obviously does the same as my 'cap.captures'
tesuji has quit [Read error: Connection reset by peer]
<ag4ve> so, idk if i missed it, but how do i copy the elements of my named capture into a hash/unordered array/whatever it's called here
skade has quit [Quit: Computer has gone to sleep.]
<ag4ve> oh cool, it's still a hash :)
evidex has joined #ruby
hahuang65 has joined #ruby
Xeago has joined #ruby
rbennacer has joined #ruby
<Ox0dea> And they're ordered!
<Ox0dea> >> /(?<word>\w+?)(?<num>\d+)/ =~ 'abc123'; $~.named_captures
<ruby[bot]> Ox0dea: # => undefined method `named_captures' for #<MatchData "abc123" word:"abc" num:"123"> (NoMethodError) ...check link for more (https://eval.in/549137)
<Ox0dea> Wat.
<Ox0dea> &ri MatchData#named_captures
<`derpy> No results
<Ox0dea> I can't believe that's a Ruby 2.4 thing. :(
hackeron has quit [Ping timeout: 260 seconds]
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
hahuang65 has quit [Ping timeout: 244 seconds]
n008f4g_ has joined #ruby
<Ox0dea> ag4ve: You'll have to say `$~.names.zip($~.captures).to_h`. :/
Chagel has quit [Remote host closed the connection]
joonty has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
Chagel has joined #ruby
<n1colas> Hello
<jhass> hi
Chagel has quit [Remote host closed the connection]
lsmola has quit [Ping timeout: 276 seconds]
<ag4ve> wfm - it's in a chef env, so iirc i'm on 2.1 anyway
<ag4ve> well, wfm but yeah, kinda ugly
Chagel has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
yfeldblum has quit [Ping timeout: 248 seconds]
<gregf_> ag4ve: args = %w|foo bar baz|;str = "foo bar baz"; /(?<foo>\w+)\s+(?<bar>\w+)\s+(?<baz>\w+)/ =~ str; p [ foo,bar, baz].zip(args).to_h <== like that
sepp2k has joined #ruby
rbennacer has joined #ruby
baweaver has joined #ruby
Gnubie__ has quit [Quit: No Ping reply in 180 seconds.]
Gnubie_ has joined #ruby
Macaveli has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
baweaver has quit [Ping timeout: 250 seconds]
Emmanuel_Chanel_ has joined #ruby
Gasher has joined #ruby
Emmanuel_Chanel_ has quit [Read error: Connection reset by peer]
Chagel has quit [Remote host closed the connection]
hackeron has joined #ruby
Emmanuel_Chanel_ has joined #ruby
Emmanuel_Chanel_ has quit [Max SendQ exceeded]
Ishido has joined #ruby
Emmanuel_Chanel_ has joined #ruby
<blackmesa> hi all. Should I rather use 'Time.current.to_date' or 'Date.current' for todays date?
Emmanuel_Chanel has quit [Ping timeout: 244 seconds]
Emmanuel_Chanel_ has quit [Client Quit]
rbennacer has joined #ruby
<Ishido> Isn't that "Date.today" ?
<Ishido> (not checked)
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
Emmanuel_Chanel has joined #ruby
<workmad3> blackmesa: if you're in rails, `Date.current` is your best bet... if you're in plain ruby, `Date.today`
marcdel has joined #ruby
<workmad3> (Date.today will use the system locale's timezone, Date.current in rails will pay attention to Time.zone)
<Ishido> (oh yes, I forgot RoR, sorry)
<blackmesa> thx Ishido workmad3 for quick response
FooMunki has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
<Ishido> If it helped you...
Emmanuel_Chanel has joined #ruby
Chagel has joined #ruby
bkxd has joined #ruby
dvinciguerra__ has joined #ruby
madgen has quit [Ping timeout: 252 seconds]
mrgrieves has quit [Ping timeout: 246 seconds]
moei has quit [Quit: Leaving...]
marcdel has quit [Ping timeout: 244 seconds]
Mon_Ouie has quit [Ping timeout: 244 seconds]
bkxd has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 276 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has quit [Ping timeout: 260 seconds]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noService has quit [Ping timeout: 246 seconds]
moei has joined #ruby
rodfersou has quit [Quit: leaving]
_djbkd has joined #ruby
madgen has joined #ruby
bkxd has joined #ruby
rbennacer has joined #ruby
nfk|laptop has joined #ruby
johnmilton has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_djbkd has quit [Ping timeout: 276 seconds]
gnufied has joined #ruby
lsmola has joined #ruby
madgen has quit [Ping timeout: 264 seconds]
bob434 has joined #ruby
sphex_ has quit [Ping timeout: 248 seconds]
dionysus69 has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
mrgrieves has joined #ruby
Chagel has quit [Ping timeout: 240 seconds]
snoobydoo has quit [Ping timeout: 268 seconds]
agit0 has quit [Read error: Connection reset by peer]
leftpad has joined #ruby
skade has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
the_drow has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
rbennacer has joined #ruby
madgen has joined #ruby
agit0 has joined #ruby
nartes has joined #ruby
jgt4 has joined #ruby
spiman has joined #ruby
trinaldi has joined #ruby
the_drow has joined #ruby
PedramT has joined #ruby
bob434 has quit [Client Quit]
bob434 has joined #ruby
Zai00 has joined #ruby
Macaveli has joined #ruby
hahuang65 has joined #ruby
rodfersou has joined #ruby
codecop has quit [Remote host closed the connection]
auzty has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
astrobu__ has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 260 seconds]
futilegames has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
rbennacer has quit [Ping timeout: 276 seconds]
futilegames has quit [Client Quit]
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
rbennacer has joined #ruby
<the_drow> has anyone tried to use coverband with Grape? The documentation only talks about Sinatra and Rails
bry4n_ has quit [Read error: Connection reset by peer]
neanderslob_ has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
Emmanuel_Chanel has joined #ruby
cgfbee has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
sphex has joined #ruby
cgfbee has joined #ruby
Xeago has joined #ruby
nartes has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
rbennacer has joined #ruby
sdothum has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
rbennacer has quit [Ping timeout: 244 seconds]
tubuliferous has joined #ruby
Didac has joined #ruby
marcdel has joined #ruby
mark3 has quit [Ping timeout: 246 seconds]
rake_db_migrate has joined #ruby
pawnbox has quit [Remote host closed the connection]
workmad3 is now known as wm3|away
vale_tudo has joined #ruby
tubuliferous has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
marcdel has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
hanmac has quit [Ping timeout: 268 seconds]
krz has quit [Ping timeout: 244 seconds]
mark3 has joined #ruby
tubuliferous has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
Begi has joined #ruby
Begi has left #ruby [#ruby]
clauswitt has joined #ruby
abyx has joined #ruby
sandelius has joined #ruby
synthroid has joined #ruby
mark3 has quit [Read error: Connection reset by peer]
mark3 has joined #ruby
snoobydoo has joined #ruby
abyx has quit [Client Quit]
clauswitt has quit [Client Quit]
wldcordeiro has quit [Ping timeout: 268 seconds]
CloCkWeRX has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 244 seconds]
rake_db_migrate has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 268 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
hanmac has joined #ruby
bronson has joined #ruby
Rickmasta has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joaquins has quit [Ping timeout: 250 seconds]
zapata has joined #ruby
rake_db_migrate has joined #ruby
edwinvdgraaf has joined #ruby
platzhirsch has left #ruby [#ruby]
abyx has joined #ruby
rbennacer has joined #ruby
abyx has quit [Client Quit]
rake_db_migrate has quit [Ping timeout: 264 seconds]
blackgoat has quit [Quit: WeeChat 1.4]
tubuliferous has quit [Ping timeout: 276 seconds]
rbennacer has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
CloCkWeRX has joined #ruby
aupadhye has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
platzhirsch has joined #ruby
swills has quit [Remote host closed the connection]
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
Urs0 has joined #ruby
<Urs0> Hello. :)
bluOxigen has quit [Ping timeout: 276 seconds]
<jhass> hi
Yeomra has joined #ruby
baweaver has joined #ruby
abyx has joined #ruby
terlar has quit [Quit: WeeChat 1.4]
PedramT has quit [Remote host closed the connection]
abyx has quit [Client Quit]
Madplatypus has quit [Quit: Connection closed for inactivity]
brt has joined #ruby
baweaver has quit [Ping timeout: 268 seconds]
jmignault has joined #ruby
kobain has joined #ruby
rake_db_migrate has joined #ruby
fmcgeough has joined #ruby
bluOxigen has joined #ruby
kareeoleez has quit [Remote host closed the connection]
<shevy> yo jhass - I see you are busy hacking away at crystal
marcdel has joined #ruby
<jhass> more or less
andywojo has quit [Ping timeout: 244 seconds]
Urs0 has quit [Ping timeout: 250 seconds]
the_drow has quit [Quit: This computer has gone to sleep]
kareeoleez has joined #ruby
mrgrieve1 has joined #ruby
nartes has joined #ruby
vondruch has quit [Quit: Ex-Chat]
pawnbox has quit [Remote host closed the connection]
mrgrieves has quit [Ping timeout: 244 seconds]
marcdel has quit [Ping timeout: 260 seconds]
wm3|away is now known as workmad3
krz has joined #ruby
djbkd has joined #ruby
BSaboia has joined #ruby
Xeago has joined #ruby
Xeago has quit [Remote host closed the connection]
tildes has quit [Remote host closed the connection]
jero_ has joined #ruby
centrx has joined #ruby
djbkd has quit [Ping timeout: 252 seconds]
sdwrage has quit [Quit: Leaving]
ChiefAlexander has joined #ruby
shredding has joined #ruby
_stu_ has joined #ruby
Swey_Hey has quit [Quit: Leaving]
KensoDev has quit [Read error: Connection reset by peer]
duderonomy has quit [Read error: Connection reset by peer]
hays has quit [Read error: Connection reset by peer]
Asher has quit [Read error: Connection reset by peer]
_stu_ has quit [Read error: Connection reset by peer]
Asher has joined #ruby
zenspider has quit [Ping timeout: 264 seconds]
M-Kodo has quit [Ping timeout: 264 seconds]
_stu_ has joined #ruby
sarbs has quit [Ping timeout: 248 seconds]
duderonomy has joined #ruby
sauvin has quit [Ping timeout: 244 seconds]
mg^ has quit [Ping timeout: 244 seconds]
ljames has quit [Ping timeout: 276 seconds]
gnufied has quit [Ping timeout: 264 seconds]
failshell has joined #ruby
zenspider has joined #ruby
ByronJohnson has quit [Ping timeout: 260 seconds]
noService has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ByronJohnson has joined #ruby
mg^ has joined #ruby
bahar has quit [Ping timeout: 260 seconds]
rbennacer has joined #ruby
Xeago has joined #ruby
centrx has quit [Remote host closed the connection]
<failshell> anyone knows of a gem that handles authentication to the AWS REST APIs? version 4 hopefully? I'm talking about the HMAC-SHA1 signing
sarbs has joined #ruby
rbennacer has quit [Remote host closed the connection]
bahar has joined #ruby
gnufied has joined #ruby
sauvin has joined #ruby
rbennacer has joined #ruby
M-Kodo has joined #ruby
s00pcan has quit [Quit: leaving]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
pawnbox has joined #ruby
noService has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 246 seconds]
godzillaenlacasa has joined #ruby
Devalo has joined #ruby
Xeago has quit [Remote host closed the connection]
spiman has quit [Ping timeout: 264 seconds]
sudoubuntu has joined #ruby
hahuang65 has joined #ruby
spiman has joined #ruby
chipotle has joined #ruby
merida_ has quit [Remote host closed the connection]
merida has joined #ruby
bkxd has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
Xeago has joined #ruby
GodFather has joined #ruby
andywojo has joined #ruby
bahar has quit [Changing host]
bahar has joined #ruby
merida has quit [Remote host closed the connection]
machinewar has joined #ruby
griffindy has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
cdg has joined #ruby
williamjordan has joined #ruby
rkoller has joined #ruby
freerobby has joined #ruby
whippythellama has joined #ruby
failshell has quit []
spiman has quit [Ping timeout: 264 seconds]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
malconis has joined #ruby
duckpuppy has joined #ruby
Xeago has joined #ruby
rake_db_migrate has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
rake_db_migrate has joined #ruby
sgambino has joined #ruby
the_drow has joined #ruby
guardian has quit [Excess Flood]
Pupeno has joined #ruby
perlgod has joined #ruby
limon7 has joined #ruby
<DefV> I want a function to have the signature "meta(property: 'og:description')", but I feel doing `def meta(fields); prop, field = fields.to_a[0]; end` is quite dirty. Is there a better way?
crazydiamond has joined #ruby
OTORelic has joined #ruby
binaryplease1 has joined #ruby
Pupeno has quit [Ping timeout: 252 seconds]
PedramT has joined #ruby
chipotle has quit [Quit: cheerio]
Pupeno_ has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
mrgrieves has joined #ruby
mrgrieve1 has quit [Ping timeout: 276 seconds]
OTORelic1 has joined #ruby
myntcake has joined #ruby
Rickmasta has joined #ruby
OTORelic has quit [Ping timeout: 248 seconds]
darkf has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
karmatr0n has joined #ruby
snoobydoo has quit [Ping timeout: 276 seconds]
ngauthier has joined #ruby
Xeago has joined #ruby
marcdel has joined #ruby
machinewar has quit [Remote host closed the connection]
williamjordan has quit [Remote host closed the connection]
binaryplease1 is now known as binaryplease
tristanp has joined #ruby
freerobby has quit [Quit: Leaving.]
bry4n_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
Yeomra has quit [Ping timeout: 248 seconds]
jmorgado1 has joined #ruby
marcdel has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
bry4n_ has quit [Read error: Connection reset by peer]
jmorgado1 has quit [Remote host closed the connection]
jmorgado has quit [Ping timeout: 252 seconds]
tristanp_ has joined #ruby
jmorgado has joined #ruby
tubuliferous has joined #ruby
Xeago has quit [Remote host closed the connection]
tristanp has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
Pupeno_ has quit [Remote host closed the connection]
ekinmur has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
djbkd has quit [Ping timeout: 244 seconds]
Xeago has quit [Remote host closed the connection]
sudoubuntu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stantona has quit [Ping timeout: 264 seconds]
ngauthier has quit [Quit: Page closed]
Xeago has joined #ruby
Yeomra has joined #ruby
CloCkWeRX has quit [Ping timeout: 252 seconds]
geekbri has joined #ruby
moeabdol2 has quit [Ping timeout: 250 seconds]
madgen has quit [Ping timeout: 248 seconds]
chipotle has quit [Quit: cheerio]
mojca has quit [Quit: mojca]
stantona has joined #ruby
tty01 has joined #ruby
Xeago has quit [Remote host closed the connection]
jmignault has quit [Quit: rcirc on GNU Emacs 24.5.1]
freerobby has joined #ruby
grill has joined #ruby
jmignault has joined #ruby
kareeoleez has quit [Remote host closed the connection]
rubie has joined #ruby
jhack has joined #ruby
stantona has quit [Remote host closed the connection]
moeabdol2 has joined #ruby
rodfersou is now known as rodfersou|lunch
<ag4ve> i notice most (everything?) inherrits nil? but i can't seem to put that inline with another method: $1.nil?.gsub(...)
Xeago has joined #ruby
madgen has joined #ruby
<canton7> .nil? returns true or false
<ag4ve> i guess what i'm asking is if there's a way to only use a method if the variable is defined?
<canton7> and booleans don't have the method gsub
<ag4ve> yeah, that makes sense
bry4n_ has joined #ruby
<Papierkorb> ag4ve: With Ruby2.3: the_variable&.gsub(..)
<atmosx> ag4ve if you could post a code snippet would be asier
<atmosx> easier
<Papierkorb> ag4ve: Without Ruby2.3: the_variable && the_variable.gsub(...) # Functionally almost identical. Identical if you don't chain-call another method
<ag4ve> so, a declaration from a regex match would be like foo = ($1 && $1.gsub(/[\t ]*, '')) ?
patrick-sartent has joined #ruby
<ag4ve> mmm, nm - i can tias too - thanks :)
CloCkWeRX has joined #ruby
<Papierkorb> ag4ve: Depends.
<Papierkorb> as in: Yes, but maybe there's a better way
shwouchkster has joined #ruby
dstarh has joined #ruby
Guest53134 has joined #ruby
anisha has quit [Quit: Leaving]
Xeago has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
Guest53134 has quit [Remote host closed the connection]
hahuang65 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
zast has joined #ruby
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
Uranio has joined #ruby
nfk|laptop has quit [Quit: yawn]
<ag4ve> i see what i'm running into gsub is overwriting the previous regex's $1,$2,... variables
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
bkxd has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
tjohnson has joined #ruby
Yeomra has quit [Ping timeout: 276 seconds]
noService has joined #ruby
<Papierkorb> ag4ve: Don't use $1 for that. String#match returns a MatchData object (as indicated in irb), which offers you caught variables
finisherr has joined #ruby
rake_db__ has joined #ruby
rake_db_migrate has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwinvdgraaf has joined #ruby
karmatr0n has joined #ruby
norc has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 268 seconds]
agit0 has quit [Quit: zzzZZZ….]
noService has quit [Ping timeout: 246 seconds]
limon7 has quit [Quit: leaving]
Macaveli has joined #ruby
merida has joined #ruby
djellemah has quit [Remote host closed the connection]
djellemah has joined #ruby
limon_ has joined #ruby
swills has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
limon_ is now known as limon7
jgt4 has quit [Ping timeout: 276 seconds]
mtkd has joined #ruby
ecnalyr has quit []
abyx has joined #ruby
limon7 has quit [Client Quit]
limon_ has joined #ruby
limon_ is now known as limon7
mostlybadfly has quit [Quit: Connection closed for inactivity]
abyx has quit [Client Quit]
mistermocha has quit [Remote host closed the connection]
noService has joined #ruby
Devalo has joined #ruby
ljames has joined #ruby
saneax is now known as saneax_AFK
dhollinger has joined #ruby
rippa has joined #ruby
OTORelic2 has joined #ruby
jorum has joined #ruby
tomaz_b has joined #ruby
OTORelic1 has quit [Ping timeout: 268 seconds]
jmorgado1 has joined #ruby
GnuYawk has quit [Remote host closed the connection]
djellemah has quit [Quit: Leaving]
djellemah has joined #ruby
the_drow has joined #ruby
GnuYawk has joined #ruby
marcdel has joined #ruby
zomba has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
stannard_ has joined #ruby
jmorgado has quit [Ping timeout: 260 seconds]
terlar has joined #ruby
Guest44419 has joined #ruby
<zomba> Beginner question(s): I have class Item, and a method self.print_items Try to call it in class TodoList, but it blows up.
guardian has joined #ruby
<zomba> undefined method 'each' for nil:NilClass (NoMethodError)
stannard has quit [Ping timeout: 260 seconds]
emilkarl has joined #ruby
mhoungbo_ has joined #ruby
marcdel has quit [Ping timeout: 260 seconds]
geekbri has quit []
tty01 has quit [Ping timeout: 248 seconds]
djbkd has joined #ruby
mhoungbo has quit [Ping timeout: 244 seconds]
<apeiros> ?code zomba
<ruby[bot]> zomba: We can't help you without your code, please post it to https://gist.github.com
dn` has quit [Quit: dn`]
skade has quit [Ping timeout: 248 seconds]
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
jhack has quit [Quit: jhack]
_djbkd has joined #ruby
jorum has quit [Ping timeout: 260 seconds]
aganov has quit [Remote host closed the connection]
hxegon has joined #ruby
GnuYawk has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
djbkd has quit [Ping timeout: 276 seconds]
limon7 has quit [Quit: Lost terminal]
skade has joined #ruby
aufi has quit [Ping timeout: 276 seconds]
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rake_db__ has quit [Read error: Connection reset by peer]
DEac- has quit [Quit: leaving]
rake_db_migrate has joined #ruby
jorum has joined #ruby
jhack has joined #ruby
_djbkd has quit [Ping timeout: 250 seconds]
DEac- has joined #ruby
mistermocha has quit [Ping timeout: 248 seconds]
DEac- has quit [Client Quit]
DEac- has joined #ruby
xaxisx has joined #ruby
B1n4r10 has joined #ruby
nartes has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
ixti has quit [Read error: Connection reset by peer]
skislak has quit [Ping timeout: 276 seconds]
Uranio has quit [Quit: Leaving]
rake_db__ has joined #ruby
rkazak has quit [Ping timeout: 260 seconds]
Pupeno has joined #ruby
sandelius has joined #ruby
ChiefAlexander has joined #ruby
entropie has joined #ruby
jmorgado1 has quit [Quit: Leaving]
AlexRussia has joined #ruby
B1n4r10 has quit [Ping timeout: 248 seconds]
rake_db_migrate has quit [Ping timeout: 250 seconds]
tty01 has joined #ruby
B1n4r10 has joined #ruby
<zomba> big 'ol network problems this morning...
Devalo has quit [Remote host closed the connection]
sandelius has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
B1n4r10 has quit [Read error: Connection reset by peer]
agentmeerkat has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
<djellemah> zomba: self.print_todo is a class method. Which in your case means that the @items it uses is not the one that you assign in TodoList.initialize
abyx has joined #ruby
B1n4r10 has joined #ruby
hahuang65 has joined #ruby
CausaMortis has quit [Ping timeout: 244 seconds]
Ropeney has joined #ruby
hxegon is now known as hxegon_AFK
mark3 has quit [Remote host closed the connection]
Azure|dc has joined #ruby
hinbody has joined #ruby
futilegames has joined #ruby
zapata has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
marxarelli has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
davedev24 has joined #ruby
Azure has quit [Ping timeout: 246 seconds]
hahuang65 has quit [Ping timeout: 276 seconds]
CloCkWeRX has quit [Quit: Leaving.]
jgt4 has joined #ruby
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
madgen has quit [Ping timeout: 260 seconds]
smathy has joined #ruby
mostlybadfly has joined #ruby
troulouliou_div2 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
baweaver has joined #ruby
mrgrieves has quit [Ping timeout: 276 seconds]
<agent_white> Mornin' folks
<zomba> I need print_items defined in class Item, but callable in class TodoList
<zomba> self.print_todo works fine in class TodoList
jorum has quit [Ping timeout: 268 seconds]
ssiris has joined #ruby
Azure|dc has quit [Remote host closed the connection]
frem has joined #ruby
bollullera has joined #ruby
zapata has joined #ruby
[Butch] has joined #ruby
symm- has joined #ruby
tubuliferous has left #ruby ["Textual IRC Client: www.textualapp.com"]
rodfersou|lunch is now known as rodfersou
* zomba is woozy..
bollullera has left #ruby [#ruby]
<apeiros> zomba: sorry, got called away and thought it'd only be a minute :-|
<zomba> Oh, no worries.
amclain has joined #ruby
<apeiros> I'll probably be back in ~1h, I hope I have time then, or that somebody else can help you in the meantime
godzillaenlacasa has quit [Quit: ZZZZZ....]
the_drow has quit [Quit: This computer has gone to sleep]
<zomba> I gotta get on taking a shower and running to pay the mortgage, right now, so the timing lines up
hxegon_AFK is now known as hxegon
Xeago has quit [Remote host closed the connection]
<jhack> zoomba: what’s the issue?
<jhack> maybe i can help, not sure tho lol
benlieb has joined #ruby
<jhack> self.print_items defined in Item should be callable in TodoList
<jhack> through Item.print_items, i think
Xeago has joined #ruby
M-mistake has quit [Remote host closed the connection]
M-Kodo has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
moeabdol2 has quit [Quit: WeeChat 1.4]
jorum has joined #ruby
OTORelic2 has quit [Ping timeout: 268 seconds]
pifon has joined #ruby
zomba has quit [Ping timeout: 250 seconds]
godzillaenlacasa has joined #ruby
ChiefAlexander has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
PedramT has quit [Remote host closed the connection]
futilegames has quit [Quit: futilegames]
marcdel has joined #ruby
mistermocha has joined #ruby
astrobun_ has quit [Remote host closed the connection]
terlar has quit [Ping timeout: 244 seconds]
jorum has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
Xeago has quit [Remote host closed the connection]
tildes has joined #ruby
perlgod has quit [Read error: Connection reset by peer]
amclain has quit [Read error: Connection reset by peer]
perlgod has joined #ruby
kits has quit [Quit: Leaving]
marcdel has quit [Ping timeout: 276 seconds]
mistermocha has quit [Ping timeout: 260 seconds]
djbkd_ has joined #ruby
amclain has joined #ruby
shredding has quit [Ping timeout: 246 seconds]
rake_db__ has quit [Read error: No route to host]
finisherr has quit [Read error: Connection reset by peer]
rake_db_migrate has joined #ruby
finisherr has joined #ruby
raeoks has joined #ruby
sarbs has quit [Ping timeout: 264 seconds]
hinbody has quit [Ping timeout: 244 seconds]
hinbody has joined #ruby
djbkd_ has quit [Ping timeout: 246 seconds]
djbkd has quit [Quit: My people need me...]
tubuliferous_ has joined #ruby
knopkodav has joined #ruby
djbkd has joined #ruby
bry4n_ has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
Pupeno_ has joined #ruby
B1n4r10 has quit [Ping timeout: 244 seconds]
bry4n_ has joined #ruby
sarbs has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
kareeoleez has quit []
chipotle has joined #ruby
joonty has quit [Ping timeout: 244 seconds]
tty01 has quit [Ping timeout: 246 seconds]
OTORelic2 has joined #ruby
Xeago has joined #ruby
tty01 has joined #ruby
mike01 has joined #ruby
mike01 has quit [Client Quit]
senayar has quit []
jaruga__ has quit [Quit: jaruga__]
tubuliferous_ has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
PaulCapestany has quit [Quit: .]
McSoFake has joined #ruby
Devalo has joined #ruby
rbennacer has joined #ruby
n008f4g_ has joined #ruby
PaulCapestany has joined #ruby
merida has quit [Remote host closed the connection]
merida has joined #ruby
elifoster has joined #ruby
weemsledeux has joined #ruby
knopkodav has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Ropeney has quit [Quit: Leaving]
Devalo has quit [Ping timeout: 250 seconds]
zapata has quit [Ping timeout: 260 seconds]
stannard_ has quit [Remote host closed the connection]
bob434 has joined #ruby
jgt4 has quit [Ping timeout: 276 seconds]
hahuang65 has joined #ruby
SCHAAP137 has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
Yeomra has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
brt has quit [Quit: peace]
Guest72339 has quit [Ping timeout: 276 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
sudoubuntu has joined #ruby
solars has quit [Ping timeout: 246 seconds]
Couch has quit [Ping timeout: 248 seconds]
platzhirsch has quit [Quit: Leaving.]
tonini has quit [Quit: Connection closed for inactivity]
jgt4 has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rake_db_migrate has quit [Remote host closed the connection]
LaT0rtue has joined #ruby
marxarelli has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
Snowy has quit [Quit: ragequit]
tomaz_b has quit [Ping timeout: 244 seconds]
zast has quit [Remote host closed the connection]
spintronic has quit [Quit: rcirc on GNU Emacs 24.5.1]
baweaver has quit [Remote host closed the connection]
marxarelli has joined #ruby
brt has joined #ruby
Blaguvest has joined #ruby
Xeago has quit [Remote host closed the connection]
jgt4 has quit [Ping timeout: 246 seconds]
aeterne has joined #ruby
shinnya has joined #ruby
kies has joined #ruby
mikecmpbll has joined #ruby
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
czerasz has quit [Ping timeout: 244 seconds]
stannard has joined #ruby
stannard has quit [Remote host closed the connection]
mhoungbo_ has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
nodejunkie has joined #ruby
stannard has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Remote host closed the connection]
Xeago has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
Xeago has quit [Remote host closed the connection]
mistermocha has joined #ruby
M-shine has joined #ruby
snockerton has joined #ruby
brt has quit [Ping timeout: 260 seconds]
brt has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
tildes has quit [Ping timeout: 246 seconds]
[Butch]_ has joined #ruby
Guest44419 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
blackmesa has joined #ruby
[Butch] has quit [Ping timeout: 244 seconds]
[Butch]_ is now known as [Butch]
nando293921 has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zomba has joined #ruby
agentmeerkat has joined #ruby
dionysus69 has joined #ruby
marcdel has joined #ruby
swills has quit [Ping timeout: 250 seconds]
tomchapin has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
stunder has joined #ruby
<zomba> so... class metthods can't be called from inside other class methods?
<eam> zomba: why not?
diegoviola has joined #ruby
chipotle has quit [Quit: cheerio]
Saint_Philomena has joined #ruby
<eam> >> class Foo; def self.bar; "bar"; end; end; class Baz; def self.qux; Foo.bar; end; end; Baz.qux
<ruby[bot]> eam: # => "bar" (https://eval.in/549452)
<Saint_Philomena> Hello. :)
OTORelic2 has quit [Ping timeout: 260 seconds]
joonty has joined #ruby
agentmee1kat has joined #ruby
agentmeerkat has quit [Ping timeout: 264 seconds]
marcdel has quit [Ping timeout: 260 seconds]
djbkd_ has joined #ruby
agit0 has joined #ruby
<zomba> def self.bar; self.baz; end
rake_db_migrate has joined #ruby
KensoDev has joined #ruby
<eam> zomba: well, "self" is going to be the class you're in
VeryBewitching has joined #ruby
<eam> when you say class Foo; def self.bar; end -- this is just shorthand for saying def Foo.bar
<VeryBewitching> o/
<eam> it's nice to say self because if you change the name of Foo stuff Just Works
<eam> you're not repeating yourself
Macaveli has quit [Ping timeout: 240 seconds]
<eam> but if you want to explicitly name some other class you can totally do that
tty01 has quit [Ping timeout: 268 seconds]
ferr has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
blandflakes has joined #ruby
platzhirsch has joined #ruby
djbkd_ has quit [Ping timeout: 244 seconds]
<Saint_Philomena> I have one question about ruby. I`m newbie.
<eam> >> class Foo; end; some_variable = Foo; def some_variable.bar; "see?" end; Foo.bar
<zomba> No I'm not talking about that
<ruby[bot]> eam: # => "see?" (https://eval.in/549454)
M-Kodo has joined #ruby
rake_db_migrate has quit [Ping timeout: 252 seconds]
<zomba> def Foo.bar; Foo.baz; end
astrobunny has joined #ruby
Macaveli has joined #ruby
<Saint_Philomena> Why if i put ---> puts "Olá" [This it dont work and the script goes down]
kies has quit [Ping timeout: 250 seconds]
Macaveli has quit [Client Quit]
Alayde has joined #ruby
swills has joined #ruby
nodejunkie has quit [Ping timeout: 252 seconds]
bluOxigen has quit [Ping timeout: 248 seconds]
bluOxigen has joined #ruby
rake_db_migrate has joined #ruby
elusiveother has joined #ruby
<elusiveother> hello
astrobunny has quit [Ping timeout: 260 seconds]
firstdayonthejob has joined #ruby
mhoungbo_ has joined #ruby
swills has quit [Client Quit]
hahuang65 has joined #ruby
CausaMortis has joined #ruby
jgt4 has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
<eam> Saint_Philomena: that should be fine
ChiefAlexander has joined #ruby
rake_db_migrate has quit [Ping timeout: 268 seconds]
tristanp has joined #ruby
tty01 has joined #ruby
guardian has quit [Ping timeout: 260 seconds]
zomba has quit [Ping timeout: 250 seconds]
<smathy> Saint_Philomena, are you using ruby 1.9 maybe?
jorum has joined #ruby
kknight has joined #ruby
tristanp_ has quit [Ping timeout: 250 seconds]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
dbohdan has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
* smathy always thought that syntax should be: `self.class.def bar ...`
chouhoulis has joined #ruby
diegoaguilar has quit [Read error: Connection reset by peer]
x77686d has quit [Quit: x77686d]
diegoaguilar has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
<eam> smathy: but self.class is always going to be Class
<eam> (I should say usually)
McSoFake has quit [Quit: leaving]
postmodern has joined #ruby
andikr has quit [Remote host closed the connection]
mistermocha has joined #ruby
joonty has joined #ruby
jenrzzz has joined #ruby
Rickmasta has quit [Quit: Textual IRC Client: www.textualapp.com]
mojca has joined #ruby
Spami_ has joined #ruby
<smathy> Yeah, I suppose you'd need something else, self.prototype.def ;)
pawnbox has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
<smathy> ...my point was just that the syntax would make more sense to me if you adjusted what `def` was "called on" (I know it's not a regular method in current implementation) rather than changing the arg to def.
aeontech has joined #ruby
RegulationD has quit [Remote host closed the connection]
jgt4 has quit [Ping timeout: 250 seconds]
rake_db_migrate has joined #ruby
mistermocha has quit [Ping timeout: 244 seconds]
ta_ has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 248 seconds]
platzhirsch has left #ruby [#ruby]
rcvalle has joined #ruby
Spami has quit [Ping timeout: 260 seconds]
Saint_Philomena has quit [Ping timeout: 250 seconds]
brent_ has joined #ruby
DrCode has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
duckpuppy has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
troulouliou_div2 has quit [Quit: Leaving]
agentmee1kat has quit [Ping timeout: 252 seconds]
patrick-sartent has quit [Quit: .]
baweaver has joined #ruby
Pupeno_ has quit [Remote host closed the connection]
pawnbox has joined #ruby
Yeomra has quit [Ping timeout: 276 seconds]
dn` has joined #ruby
mojca has left #ruby [#ruby]
KensoDev has quit [Quit: Textual IRC Client: www.textualapp.com]
agit0 has quit [Quit: zzzZZZ….]
mdw has joined #ruby
jt__ has joined #ruby
Mon_Ouie has quit [Ping timeout: 248 seconds]
cdg has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
Devalo has joined #ruby
OTORelic2 has joined #ruby
mdw has quit [Ping timeout: 276 seconds]
umurgdk has joined #ruby
_djbkd has joined #ruby
Karunamon has quit [Max SendQ exceeded]
Karunamon has joined #ruby
nanoz has joined #ruby
mdw has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
elaptics is now known as elaptics`away
tildes has joined #ruby
[Butch] has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
marcdel has joined #ruby
kknight has quit [Ping timeout: 244 seconds]
Yeomra has joined #ruby
evidex has quit [Remote host closed the connection]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
[Butch] has joined #ruby
marcdel has quit [Ping timeout: 260 seconds]
codecop has joined #ruby
aeon_ has joined #ruby
djbkd_ has joined #ruby
aeontech has quit [Ping timeout: 252 seconds]
aeon_ has quit [Client Quit]
Cohedrin has joined #ruby
[Butch] has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
[Butch] has joined #ruby
eprasad has joined #ruby
Musashi007 has joined #ruby
djbkd_ has quit [Ping timeout: 250 seconds]
jyaworski has joined #ruby
<jyaworski> Hey all. Anyone using savon? I've passed my path to :wsdl, but in the logs it shows me it's querying 8443 instead of my specified port in the URI.
shmuli_ has joined #ruby
OTORelic2 has quit [Ping timeout: 250 seconds]
tildes has quit [Ping timeout: 268 seconds]
Kanibal has joined #ruby
mwlang has joined #ruby
<Kanibal> Hey there. Does anybody know, what this line: https://github.com/kschiess/parslet/blob/master/example/ignore.rb#L3 does?
<Kanibal> I've never seen the $:.-operator-thingy in ruby.
jenrzzz has quit [Ping timeout: 246 seconds]
tty01 has quit [Ping timeout: 248 seconds]
[Butch] has quit [Ping timeout: 276 seconds]
<apeiros> Kanibal: $: is $LOAD_PATH
banister has quit [Remote host closed the connection]
<Kanibal> ah.
<Kanibal> Are those magic variables documented somewhere?
banister has joined #ruby
<apeiros> ?quickref Kanibal
<Kanibal> Alright, thanks!
cpruitt has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
Mon_Ouie has joined #ruby
[Butch] has joined #ruby
Begi has joined #ruby
sudoubuntu has quit [Ping timeout: 252 seconds]
trinaldi has quit [Quit: bye]
jackjackdripper has joined #ruby
marxarelli is now known as marxarelli|afk
jgt4 has joined #ruby
M-Kodo has quit [Remote host closed the connection]
M-shine has quit [Remote host closed the connection]
marxarelli|afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fschuindt has quit [Quit: WeeChat 1.3]
mhoungbo_ has quit [Ping timeout: 244 seconds]
rake_db_migrate has quit [Read error: No route to host]
rake_db_migrate has joined #ruby
hooinator has joined #ruby
bluOxigen has quit [Ping timeout: 250 seconds]
jorum has quit [Ping timeout: 246 seconds]
pandaant has quit [Quit: Lost terminal]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
eprasad has quit [Ping timeout: 250 seconds]
agentmeerkat has joined #ruby
marxarelli has joined #ruby
sauvin has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
mistermocha has joined #ruby
baweaver has quit [Remote host closed the connection]
pifon1 has joined #ruby
RegulationD has joined #ruby
x77686d has joined #ruby
brt has quit [Quit: peace]
mistermocha has quit [Ping timeout: 268 seconds]
marxarelli has quit [Ping timeout: 276 seconds]
KensoDev has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
Musashi007 has quit [Quit: Musashi007]
bkxd has joined #ruby
cdg has quit [Remote host closed the connection]
pifon has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
cpruitt has quit [Quit: cpruitt]
Mon_Ouie has quit [Quit: WeeChat 1.4]
shmuli has joined #ruby
Devalo has joined #ruby
OTORelic2 has joined #ruby
sergey_makagon has joined #ruby
M-shine has joined #ruby
cpruitt has joined #ruby
ferr has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
Guest13 has joined #ruby
shmuli_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 246 seconds]
cdg has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
tildes has joined #ruby
pawnbox has joined #ruby
B1n4r10 has joined #ruby
marxarelli has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<A124> How do I add Math.radians(Numeric) into Math?
dmr8 has joined #ruby
<A124> I tried refine, but it complains that it expected a class, not module.
pawnbox has quit [Remote host closed the connection]
sergey_makagon has quit [Remote host closed the connection]
pawnbox has joined #ruby
jgt4 has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
Guest13 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
M-Kodo has joined #ruby
madgen has joined #ruby
swills has joined #ruby
klka has joined #ruby
<klka> Hi where can I see what is the meaning of each status value in rb_protect()
tildes has quit [Ping timeout: 264 seconds]
CausaMortis has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
solars has joined #ruby
mdw has quit [Ping timeout: 252 seconds]
patrick_star_2 has joined #ruby
elifoster has quit [Ping timeout: 248 seconds]
sergey_makagon has joined #ruby
rake_db_migrate has quit [Read error: Connection reset by peer]
rake_db__ has joined #ruby
patrick_star_3 has quit [Ping timeout: 244 seconds]
ekinmur has joined #ruby
pawnbox has joined #ruby
LastWhisper____ has joined #ruby
yfeldblum has joined #ruby
aegis3121 has joined #ruby
nofacade has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
skade has joined #ruby
<apeiros> A124: module Math; module_function; def radians(val); …code…; end; end
marcdel has joined #ruby
mistermocha has joined #ruby
symm- has joined #ruby
mdw has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
merida has quit [Remote host closed the connection]
M-mistake has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
marcdel has quit [Ping timeout: 248 seconds]
mistermocha has quit [Ping timeout: 264 seconds]
Es0teric has joined #ruby
dling has joined #ruby
Es0teric has quit [Max SendQ exceeded]
akkmaxon has joined #ruby
djbkd_ has joined #ruby
Es0teric has joined #ruby
shmuli has quit [Remote host closed the connection]
TinkerTyper has quit [Read error: Connection reset by peer]
aeontech has joined #ruby
<shevy> really weird that one has to specify class or module upon redefinition
emilkarl has joined #ruby
shmuli has joined #ruby
emilkarl has quit [Client Quit]
RegulationD has joined #ruby
Guest21 has joined #ruby
pawnbox has quit [Remote host closed the connection]
agit0 has joined #ruby
PedramT has joined #ruby
<Guest21> hi there, anyone familiar with thin memory issues? our thin instances are going beyond 1GB of RES memory :-/
snoobydoo has joined #ruby
jmorgado has joined #ruby
djbkd_ has quit [Ping timeout: 264 seconds]
Ormm has joined #ruby
dling has quit []
pawnbox has joined #ruby
Silox| has joined #ruby
Guest21 is now known as falcon3
jorum has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
d0nn1e has quit [Ping timeout: 248 seconds]
symm- has joined #ruby
stunder has quit [Ping timeout: 250 seconds]
d0nn1e has joined #ruby
last_staff has quit [Quit: last_staff]
jorum has quit [Ping timeout: 260 seconds]
last_staff has joined #ruby
dling has joined #ruby
antgel has joined #ruby
swills has quit [Ping timeout: 252 seconds]
dling has quit [Client Quit]
merida has joined #ruby
aldodelgado has joined #ruby
rkoller_ has joined #ruby
magikid has joined #ruby
jt__ has quit [Remote host closed the connection]
jt__ has joined #ruby
rkoller has quit [Ping timeout: 246 seconds]
snoobydoo has quit [Ping timeout: 264 seconds]
tty01 has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
stunder has joined #ruby
pawnbox has quit [Remote host closed the connection]
<pizzaops> I often do things like this when I want to set a default value for an instance variable (or just something inside a method in general) but still allow it to be overridable: https://gist.github.com/pizzaops/2f91371ff7a00edee6a09fbdc3035c0d
<pizzaops> Is that actually idiomatic? Is there a "better" way?
kies has joined #ruby
rodfersou has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
jmorgado1 has joined #ruby
swills has joined #ruby
blandflakes has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
xaxisx_ has joined #ruby
xaxisx_ has quit [Client Quit]
<shevy> depends on how much your reader method would do
<shevy> in this case you don't even use it
<shevy> erm setter
jmorgado has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
rodfersou has joined #ruby
akkmaxon has quit [Quit: Konversation terminated!]
<pizzaops> Yeah I really just need a attr_reader here, but that's not really my question
<pizzaops> I'm more asking about my use of param=nil and ||
akkmaxon has joined #ruby
akkmaxon has quit [Client Quit]
akkmaxon has joined #ruby
_djbkd has quit [Remote host closed the connection]
xaxisx has quit [Ping timeout: 276 seconds]
<Ox0dea> pizzaops: Why not use default arguments as intended?
pawnbox has joined #ruby
stunder has quit [Ping timeout: 248 seconds]
duncannz has quit [Remote host closed the connection]
<pizzaops> Ox0dea: that's...a good point
<pizzaops> I'm not sure why!
baweaver has quit [Ping timeout: 268 seconds]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
moeabdol has quit [Ping timeout: 252 seconds]
<pizzaops> Ox0dea: you're 100% right . . . I don't remember what got me on this path.
pifon has joined #ruby
<pizzaops> There was some point where normal defaults weren't good enough but I don't remember why anymore, and I think I just kept doing this weird pattern even when not necessary
ramfjord_ has joined #ruby
<Ox0dea> pizzaops: Be free of your cargo cult.
<pizzaops> Ox0dea: the funny thing about it in this case was I was cargo-culting *myself*
pifon1 has quit [Ping timeout: 244 seconds]
aeontech has quit [Quit: aeontech]
<pizzaops> Thanks, as usual!
<Ox0dea> Sure thing. ^_^
<Ox0dea> Good on ya for self-medicating, as it were.
umurgdk has quit [Quit: Going offline, see ya! (www.adiirc.com)]
pawnbox has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 244 seconds]
<Ox0dea> pizzaops: For your edification, a pattern of which to be both aware and wary: https://eval.in/549533
polishdub has quit [Quit: Leaving]
<a1fa> is it possible to have a has_many with additional scope?
<a1fa> wrong channel
jmorgado has joined #ruby
jmorgado1 has quit [Ping timeout: 264 seconds]
mdw has quit [Ping timeout: 264 seconds]
stunder has joined #ruby
kobain has quit [Ping timeout: 260 seconds]
abyx has quit [Quit: This computer has gone to sleep]
kies has quit [Ping timeout: 246 seconds]
jackjackdripper has quit [Quit: Leaving.]
ferr has quit [Ping timeout: 264 seconds]
kobain has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
tildes has joined #ruby
stunder has quit [Ping timeout: 244 seconds]
cwenner has quit [Quit: Leaving]
baweaver has joined #ruby
<djellemah> I have this perception that DRb is ... not production-ready, slightly flaky. But, I can't find any solid information on the matter.
mistermocha has quit [Ping timeout: 248 seconds]
stannard has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 244 seconds]
rake_db__ has quit [Remote host closed the connection]
stannard has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
codecop has quit [Remote host closed the connection]
pifon1 has joined #ruby
rake_db_migrate has joined #ruby
<shevy> drb is very old
<shevy> since at the least 1.8.6 http://ruby-doc.org/stdlib-1.8.6/libdoc/drb/rdoc/DRb.html but I think it is much older than that too, can't get these docs for below 1.8.6 though
torandu has quit [Ping timeout: 248 seconds]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
pifon has quit [Ping timeout: 244 seconds]
pifon2 has joined #ruby
spider-mario has joined #ruby
marcdel has joined #ruby
<djellemah> Maybe it works really well, and doesn't need fixing. I've used it, and I didn't have any trouble. But that was for a test-harness.
blackgoat has joined #ruby
Xeago has joined #ruby
stunder has joined #ruby
pifon1 has quit [Ping timeout: 244 seconds]
BSaboia has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 248 seconds]
* A124 thanks apeiros, also now searching module_function bumped into this http://stackoverflow.com/a/11551307
ramfjord_ has quit [Ping timeout: 240 seconds]
darrensadr has joined #ruby
aldodelgado has quit [Quit: aldodelgado]
karmatr0n has quit [Ping timeout: 248 seconds]
marcdel has quit [Ping timeout: 276 seconds]
cdg has joined #ruby
swills has quit [Ping timeout: 248 seconds]
Madplatypus has joined #ruby
benlieb has joined #ruby
s1kx has quit [Quit: bai]
_djbkd has joined #ruby
nofacade has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
aeontech has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<djellemah> The closest I could get is a mention that DRb is widely used in Japan. So my english language google searches wouldn't turn up much.
benlieb has quit [Client Quit]
Macaveli has joined #ruby
PlasmaStar has quit [Ping timeout: 268 seconds]
ramfjord has joined #ruby
jorum has joined #ruby
akkmaxon has quit [Ping timeout: 246 seconds]
shmuli has quit [Ping timeout: 248 seconds]
csharper has joined #ruby
jt__ has quit [Remote host closed the connection]
kam270 has quit [Ping timeout: 264 seconds]
PlasmaStar has joined #ruby
PedramT has quit [Remote host closed the connection]
jorum has quit [Ping timeout: 240 seconds]
shmuli has joined #ruby
czerasz has joined #ruby
diegoaguilar has quit [Ping timeout: 276 seconds]
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
bb010g has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
Rickmasta has joined #ruby
hxegon is now known as hxegon_AFK
dvinciguerra__ has quit [Ping timeout: 268 seconds]
wreet has joined #ruby
wreet has joined #ruby
wreet has left #ruby [#ruby]
thor77 has joined #ruby
codezomb has joined #ruby
<shevy> yeah, ruby's old problem - english documentation
duckpuppy has quit [Ping timeout: 248 seconds]
dmr8 has quit [Quit: Leaving]
greenride has joined #ruby
tty01 has quit [Ping timeout: 260 seconds]
jenrzzz_ has joined #ruby
Lomex has joined #ruby
bronson has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
fmcgeough has quit [Quit: fmcgeough]
B1n4r10 has quit [Ping timeout: 276 seconds]
aeontech has quit [Ping timeout: 252 seconds]
johnbat26 has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
johnmilton has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 276 seconds]
kam270 has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
x77686d has quit [Quit: x77686d]
cpruitt has quit [Quit: cpruitt]
Es0teric has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
thor77 has left #ruby ["Leaving"]
sergey_makagon has quit []
aeontech has joined #ruby
bkxd has joined #ruby
diegoaguilar has joined #ruby
merida has quit [Remote host closed the connection]
tty01 has joined #ruby
<djellemah> Yeah, so try it and see what happens. I would do that, but unfortunately it's not my production system.
benlieb has joined #ruby
FooMunki has quit [Quit: FooMunki]
<apeiros> djellemah: drb is very much production ready
<apeiros> and as shevy said, it exists for quite a while too
FooMunki has joined #ruby
<apeiros> A124: module_function is to be preferred over extend self.
kam270 has quit [Ping timeout: 264 seconds]
<apeiros> and for reference - all the other methods in Math are module_function too
spikeheadon has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
devbug has joined #ruby
pawnbox has joined #ruby
hxegon_AFK is now known as hxegon
last_staff has quit [Quit: last_staff]
<djellemah> apeiros: Good to hear. Have you used it in that context? You know anyone who has?
_blizzy_ has quit [Ping timeout: 264 seconds]
_blizzy_ has joined #ruby
last_staff has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
solars has quit [Ping timeout: 264 seconds]
Lomex has quit [Remote host closed the connection]
jero_ has quit [Ping timeout: 244 seconds]
Lomex has joined #ruby
pawnbox has quit [Ping timeout: 248 seconds]
Musashi007 has joined #ruby
Snowy has joined #ruby
kam270 has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
mistermocha has joined #ruby
someish has joined #ruby
bronson has joined #ruby
x77686d has joined #ruby
patrick-sartent has joined #ruby
<someish> What’s going on in a ruby class when a method is called from outside one of the methods in that class? For example, in PHP or Java, you can’t just call a function or method inside a class declaration, but outside a method declaration.
B1n4r10 has quit [Ping timeout: 246 seconds]
finisherr has quit [Quit: finisherr]
mistermocha has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 252 seconds]
Musashi007 has quit [Quit: Musashi007]
<baweaver> You might join #RubyOnRails
<Ox0dea> It's a Ruby question.
<weaksauce> someish class is like a function that has a block
<baweaver> but the gist of it is that they're macro methods that define methods on that class
<weaksauce> similar to a block*
<baweaver> Ox0dea: Oh I know, but it involves Rails to an extent which is why I said might instead of should
<Ox0dea> someish: Just a sec.
<someish> I think I’m in the right place.
<someish> So it’s called a macro method?
<Ox0dea> someish: https://eval.in/549553
<weaksauce> someish you can puts/other method calls inside a class definition too.
Devalo has quit [Remote host closed the connection]
<Ox0dea> someish: It's "metaprogramming", but not macros.
rake_db__ has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
marcdel has joined #ruby
<weaksauce> someish https://eval.in/549556
<someish> Interesting.
aeontech has quit [Quit: aeontech]
YaknotiS has quit [Remote host closed the connection]
<Ox0dea> In a nutshell, class bodies get executed like any other code; it's just that `self` is the Class itself if you're not within a method.
jero_ has joined #ruby
rake_db_migrate has quit [Ping timeout: 268 seconds]
<someish> Ox0dea: I don’t know how I should feel about that.
<someish> It’s so foreign to me.
<weaksauce> someish once you get that concept and the fact that you can define methods programmatically rails becomes less magical
<Ox0dea> someish: It's pretty nifty, honestly, but Ruby does give you scissors and trust you to run carefully. :P
Renich has joined #ruby
zeroDivisible has joined #ruby
<someish> That’s a good way of putting it.
<someish> I was actually complaining to a co-worker today about the magic.
<someish> It’s a blessing and a curse.
solars has joined #ruby
<weaksauce> all those special methods in rails do are create some methods based on the inputs you give it.
<weaksauce> like has_many :something
marcdel has quit [Ping timeout: 240 seconds]
<someish> So it’s essentially creating methods on itself at runtime?
<Ox0dea> It can certainly do that, but that's not what's happening in your example.
djbkd_ has joined #ruby
<Ox0dea> Classes can define the #inherited hook to do whatever they want with some class that inherits them.
perlgod has quit [Ping timeout: 252 seconds]
<weaksauce> the auto-generated methods shows you what it makes
<shevy> djellemah it was mentioned in the old pickaxe; I guess 10 years ago perhaps you may have seen more examples on the www for it :)
rodfersou has quit [Quit: leaving]
dn` has quit [Quit: dn`]
biberu has quit []
<Ox0dea> You can define methods on anything from anywhere at any time. Please think responsibly.™
<someish> That’s very cool.
YaknotiS has joined #ruby
swills has joined #ruby
<someish> Thanks everyone. That clears up quite a bit for me.
jmorgado has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
djbkd_ has quit [Ping timeout: 244 seconds]
jmignault has quit [Ping timeout: 244 seconds]
<eam> you can create an object that shuffles its own methods every time a method on it is called
leftpad has quit [Read error: Connection reset by peer]
<weaksauce> Ox0dea and delete them too
mhoungbo has joined #ruby
benlieb has quit [Quit: benlieb]
<weaksauce> is there a more malleable language out there?
<eam> sure, perl
Begi has quit [Ping timeout: 248 seconds]
<eam> or C :)
<weaksauce> that people can read later? :P
baweaver has quit [Remote host closed the connection]
Musashi007 has joined #ruby
<eam> don't get me started because I'll say "perl is more readable than ruby" and then we'll just be arguing
<Ox0dea> Except I have a picture to dispel that argument with considerable haste. :)
<weaksauce> haha
<Papierkorb> Ox0dea: “I don't believe you”?
<eam> I can write ruby uglier than any perl you can write
<Ox0dea> eam: You mistook me.
<eam> Ox0dea: oooooh
skade has joined #ruby
<eam> indeed please, display your picture
<eam> is that valid perl too, btw?
dhollinger has joined #ruby
<Ox0dea> Could well be.
<Ox0dea> A polyglot Sinatra app would be interesting.
<eam> one big reason perl's more malleable: you can change the class of an object
ldnunes has quit [Quit: Leaving]
tty01 has quit [Ping timeout: 244 seconds]
<Ox0dea> You can do that with Fiddle.
<eam> yeah well, cheating
<Ox0dea> Yeah, but it speaks to your mention of C as being quite malleable at any rate.
<eam> I'd argue it's explicitly in scope for C
pawnbox has quit [Ping timeout: 248 seconds]
<Ox0dea> I wouldn't contest.
<eam> but then how will we keep this conversation going
yfeldblum has joined #ruby
<Ox0dea> Well, someish just suggested that Ruby has macros.
<eam> brainfuck needs an extension to enable the addressing of the code segment
<shevy> hah
<Ox0dea> eam: There's a derivative that maintains two tapes, I think.
<Ox0dea> Probably several of 'em, even.
<eam> can I execute on one of the tapes?
<Ox0dea> Of course; that's largely the point.
<eam> love it
<eam> don't need two tapes though, what luxury
jorum has joined #ruby
<eam> just give me a pointer to myself
aeontech has joined #ruby
abyx has joined #ruby
benlieb has joined #ruby
<Ox0dea> "Man cannot remake himself without suffering, for he is both the code and the data."
<shevy> just change the nucleotides!
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skweek has joined #ruby
Cohedrin has joined #ruby
jorum has quit [Ping timeout: 250 seconds]
zapata has quit [Ping timeout: 260 seconds]
karmatr0n has joined #ruby
<Ox0dea> eam: You could leverage this (remarkably tiny!) interpreter to have `eval` in brainfuck: http://www.hevanet.com/cristofd/brainfuck/dbfi.b
aeontech has quit [Ping timeout: 252 seconds]
jero_ has quit [Ping timeout: 252 seconds]
devbug has quit [Ping timeout: 248 seconds]
tty01 has joined #ruby
<Ox0dea> I tend to nope right out of trying to figure out what's going on when I see more than 4 consecutive >s.
<apeiros> djellemah: I define all pseudo functions that way (utility methods with no reference to self)
duckpuppy has joined #ruby
<eam> why's four > so bad
yohle has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
<Ox0dea> It just means that there's a lot of state to keep track of.
<Ox0dea> I know how to get to a fresh cell and go back to whence I came, but it's hard to get back and forth between specific cells.
baweaver has joined #ruby
nofacade has joined #ruby
<eam> [>,]
dvinciguerra__ has joined #ruby
<Ox0dea> Nice space heater.
BTRE has quit [Ping timeout: 276 seconds]
Blaguvest has quit [Remote host closed the connection]
<eam> nah it's just IO.read
duckpuppy has quit [Ping timeout: 244 seconds]
<Ox0dea> Depends on how it handles EOF.
BTRE has joined #ruby
<eam> eof always returns zero
<Ox0dea> That's implementation-defined.
<Ox0dea> Good interpreters are supposed to signal "no change" for EOF.
aupadhye has quit [Quit: Leaving]
Musashi007 has quit [Quit: Musashi007]
someish has quit [Quit: someish]
B1n4r10 has joined #ruby
<eam> no way
<eam> zero for eof all the way
<Ox0dea> There is an objectively superior alternative.
<eam> it's important to consider developer ease of use when discussing brainfuck architecture
<Ox0dea> In much the same way that Malbolge was designed for programmer unhappiness.
darrensadr has quit [Ping timeout: 248 seconds]
<Ox0dea> Same same, but different. But still same.
bkxd has joined #ruby
zapata has joined #ruby
Musashi007 has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CausaMortis has joined #ruby
tubuliferous has joined #ruby
BTRE has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yqt has joined #ruby
bkxd has quit [Ping timeout: 248 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
zomba has joined #ruby
agentmee1kat has joined #ruby
musl has quit [Quit: WeeChat 1.3]
musl has joined #ruby
agentmeerkat has quit [Ping timeout: 244 seconds]
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
cpruitt has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
tty01 has quit [Ping timeout: 268 seconds]
zapata has quit [Ping timeout: 260 seconds]
B1n4r10 has quit [Ping timeout: 260 seconds]
BTRE has joined #ruby
zomba has quit [Ping timeout: 250 seconds]
stannard has quit [Remote host closed the connection]
Azure has joined #ruby
Lomex has quit [Remote host closed the connection]
crdpink has quit [Quit: q term]
mistermocha has quit [Ping timeout: 276 seconds]
ekinmur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhack has quit [Quit: jhack]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has quit [Remote host closed the connection]
stannard has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
dhollinger has quit [Quit: WeeChat 1.4]
sepp2k has quit [Quit: Leaving.]
kareeoleez has quit [Remote host closed the connection]
crdpink has joined #ruby
mistermocha has joined #ruby
workmad3 has quit [Changing host]
workmad3 has joined #ruby
bruno- has joined #ruby
Devalo has joined #ruby
someish has joined #ruby
marcdel has joined #ruby
mistermocha has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 268 seconds]
OTORelic2 has quit [Ping timeout: 250 seconds]
nofacade has quit [Ping timeout: 240 seconds]
zapata has joined #ruby
ethnologic has joined #ruby
marcdel has quit [Ping timeout: 244 seconds]
ocbtec has quit [Quit: leaving]
djbkd_ has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
GodFather has joined #ruby
pawnbox has joined #ruby
solars has quit [Ping timeout: 248 seconds]
rkoller_ has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
rkoller has joined #ruby
madgen has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 276 seconds]
madgen has joined #ruby
rake_db__ has quit [Remote host closed the connection]
djbkd_ has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
krz has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
mistermocha has joined #ruby
aeontech has joined #ruby
maletor has left #ruby ["Textual IRC Client: www.textualapp.com"]
aegis3121 has quit [Ping timeout: 276 seconds]
nando293921 has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
andywojo has quit [Ping timeout: 260 seconds]
bob434 has joined #ruby
shmuli has quit [Ping timeout: 246 seconds]
bob434 has quit [Max SendQ exceeded]
ixti has joined #ruby
wolffles has joined #ruby
jorum has joined #ruby
shmuli has joined #ruby
andywojo has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
yohle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aeontech has quit [Quit: aeontech]
nettoweb has joined #ruby
x77686d has quit [Quit: x77686d]
freerobby has quit [Quit: Leaving.]
bkxd has joined #ruby
pifon2 has quit [Quit: Leaving]
jorum has quit [Ping timeout: 246 seconds]
someish has quit [Quit: someish]
andywojo has quit [Ping timeout: 246 seconds]
bry4n_ has quit [Ping timeout: 276 seconds]
mistermocha has quit [Remote host closed the connection]
freerobby has joined #ruby
bob434 has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
GG has quit [Quit: Real eyes realize real lies....]
GG has joined #ruby
ramfjord has joined #ruby
yohle has joined #ruby
yohle has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
[Butch] has quit [Quit: I'm out . . .]
mistermocha has joined #ruby
jmorgado has joined #ruby
zomba has joined #ruby
OTORelic2 has joined #ruby
aeontech has joined #ruby
<zomba> Now that I've had some sleep -
kknight has joined #ruby
ensyde_ has joined #ruby
<zomba> say_both no worky
toretore has joined #ruby
rbennacer has joined #ruby
cpruitt has quit [Quit: cpruitt]
atm0sphere has joined #ruby
<atm0sphere> can one use ruby gem in ruby program?
SCHAAP137 has quit [Quit: Leaving]
<atm0sphere> generally we use gem in rails
mistermocha has quit [Ping timeout: 244 seconds]
<shevy> atm0sphere yeah. gems are usually pure ruby code. whenever you use ruby, you can use/require gems (and use them if they are installed)
<zomba> requiring a gem? Sure
<atm0sphere> if not installed then?
bkxd has quit [Ping timeout: 252 seconds]
x77686d has joined #ruby
<zomba> Catch the exception and install gem
baweaver has joined #ruby
<atm0sphere> actually I AM writtng a code which will give he similarity percentage if two text file
aeon_ has joined #ruby
aeontech has quit [Ping timeout: 252 seconds]
kknight has quit [Ping timeout: 244 seconds]
<Ox0dea> atm0sphere: "A program" or "some code", and never the twain shall meet.
abyx has quit [Ping timeout: 244 seconds]
falcon3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> zomba: Worky fine? https://eval.in/549579
zenlot has quit [Ping timeout: 252 seconds]
zenlot has joined #ruby
<zomba> Dammit... why did it blow up on me?
<Ox0dea> ¯\_(ツ)_/¯
<shevy> atm0sphere if it is not installed then of course you can not use it :)
jt__ has joined #ruby
<zomba> Sorry for the time waster
domaldel has quit [Quit: Leaving]
_stu_ has quit [Quit: _stu_]
Swey_Hey has joined #ruby
aeon_ has quit [Quit: aeon_]
atm0sphere has quit [Quit: Leaving]
<zomba> That's an interesting problem with gem install though (for me). Can rescue exception and install gem, but a require after that fails. But running the code again succeeds
darkf has joined #ruby
<Ox0dea> Installing gems in a rescue clause is pretty cruel.
whathappens has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
<zomba> It was a "ensure_gem_is_installed" method idea
yfeldblum has joined #ruby
freerobby has quit [Quit: Leaving.]
<shevy> you mean to install the gem when it is not available at runtime?
blandflakes has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
stunder has quit [Quit: WeeChat 1.4]
<zomba> Yep
<zomba> I need to decide on a permanent nickname and register it...
benlieb has quit [Quit: benlieb]
zeroDivisible has quit [Quit: WeeChat 1.4]
aeontech has joined #ruby
mistermocha has joined #ruby
zomba has quit [Ping timeout: 250 seconds]
JesseH has quit [Remote host closed the connection]
7F1AAP1G0 has joined #ruby
<shevy> zombie!
edwinvdgraaf has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 244 seconds]
<VeryBewitching> It'd be cool to have a small zombie-ant-farm
marcdel has joined #ruby
<shevy> there was once a mini-ant game in ruby-gnome
houhoulis has joined #ruby
rbennacer has quit [Remote host closed the connection]
7F1AAP1G0 has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 248 seconds]
GG has quit [Quit: I dont even care at this point honestly....]
neanderslob_ has joined #ruby
Inside has joined #ruby
<shevy> awww this was the old announcement... but the code is gone :( http://www.thecodingforums.com/threads/ann-help-requested-a-nerdy-multiplayer-game-ants.816982/
<shevy> I have a local copy... but I think I tried to update it for modern ruby and gnome and happily broke it in the process before abandoing it
snockerton has quit [Quit: Leaving.]
<VeryBewitching> It's sad when code goes off to die.
marcdel has quit [Ping timeout: 248 seconds]
djbkd_ has joined #ruby
Gasher has quit [Quit: Leaving]
<greenride> Is there any way to prevent rdoc, maruku, or RedCloth from transforming a Unicode+0022 quotation mark into a Unicode+201 quotation mark?
diegoaguilar has quit [Ping timeout: 276 seconds]
djbkd_ has quit [Ping timeout: 244 seconds]
jaiks has joined #ruby
jaiks has quit [Client Quit]
theery has joined #ruby
neanderslob_ is now known as neanderslob
andywojo has joined #ruby
vale_tudo has quit [Ping timeout: 244 seconds]
davedev24 has quit []
patrick_star_2 has quit [Ping timeout: 268 seconds]
jorum has joined #ruby
rbennacer has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
patrick_star_2 has joined #ruby
diegoaguilar has joined #ruby
jorum has quit [Ping timeout: 244 seconds]
agentmee1kat has quit [Ping timeout: 244 seconds]
duckpuppy has joined #ruby
mistermocha has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
rbennacer has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
Spami_ has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
Spami has joined #ruby
<aspiers> what do most gem authors typically use for creating new gems?
mistermocha has quit [Ping timeout: 260 seconds]
<aspiers> I'm creating my first gem after years of hacking on other people's
<aspiers> I'm trying hoe but the output looks non-standard and out-of-date (e.g. creates an .autotest file)
duckpuppy has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
valetudo has joined #ruby
freerobby has joined #ruby
elifoster has joined #ruby
hxegon has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 244 seconds]
CloCkWeRX has joined #ruby
Ormm has quit [Quit: Nettalk6 - www.ntalk.de]
crowell has quit [Ping timeout: 260 seconds]
vale_tudo has joined #ruby
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
<aspiers> it also creates README.txt which isn't in a plaintext format
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 276 seconds]
valetudo has quit [Ping timeout: 248 seconds]
<aspiers> that's fairly crazy - most gems have README.md these days
skweek has joined #ruby
<aspiers> oh, looks like hoe is dead. maybe jeweler then?
johnny56_ has joined #ruby
skweek has quit [Remote host closed the connection]
<nickjj> i just use bundle
<aspiers> oh right
tvon has joined #ruby
<aspiers> as in, bundle gem?
<nickjj> yeah
johnny56 has quit [Ping timeout: 264 seconds]
<nchambers> are questions about the god program offtopic herer?
<nickjj> aspiers, type: bundle gem foo , and then answer a few of the questions
<aspiers> nickjj: apparently "gem new" was fashionable in 2014 http://live.julik.nl/2014/11/why-stick-to-jeweler
benlieb has joined #ruby
<nickjj> i don't really care about fashion, i use what works. in 5 seconds bundle gem foo will generate the boilerplate to create a new gem
DLSteve has joined #ruby
<aspiers> I'm sure they all work
<nickjj> readmes, travis support, the git repo, etc. -- it's all stuff i would do by hand anyways
<aspiers> that's a good article
<aspiers> yes, I tend to do stuff by had
<aspiers> hand
ekinmur has joined #ruby
<aspiers> but starting with some boilerplate can be useful for saving time and being consistent
<nickjj> right, which is what bundle gem <gemname> provides you, it gives you all the boilerplate so you can start cranking out your gem code asap
blackmesa has quit [Ping timeout: 250 seconds]
<nickjj> i don't see too much of a point to go beyond that, mainly because it's not like creating gem boilerplate is going to be your bottleneck
<nickjj> it's something you do every once in a while
<postmodern> `bundle gem` is pretty terrible imho
<aspiers> haven't tried it yet, but already ditched hoe
<postmodern> the templates started out as the bare minimum, but they began adding things like bin/console
theery has quit []
skweek has joined #ruby
<postmodern> there's a couple gem generators already, that focus on configurability
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<postmodern> like adding all your fancy badges and test-suite stub files
<aspiers> ore looks like it might be nice
<nickjj> you might as well just roll your own 10 line bash file
<nickjj> then you can quickly add the files/folders you want
<nickjj> and move on with life!
ekinmur has quit [Client Quit]
<aspiers> nickjj: obviously I need to teach you a thing or two about how to procrastinate properly :)
hinbody has quit [Ping timeout: 264 seconds]
<nickjj> i just looked at the last gem i made. its boilerplate has 6 files and 2 folders
Vile` has joined #ruby
_djbkd has quit [Remote host closed the connection]
<nickjj> haha yeah i know what you mean aspiers, i used to be a champion procrastinator
<postmodern> nickjj, it's the small things that get you over time
meinside has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
Spami has quit [Ping timeout: 252 seconds]
tvw has quit [Remote host closed the connection]
vdamewood has joined #ruby
czerasz has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
_djbkd has joined #ruby
jmorgado has quit [Remote host closed the connection]
<aspiers> ore seems nicer the closer I look at it, kudos
<aspiers> postmodern: can I do "mine ." on an existing repo?
<aspiers> I guess I should just try
Spami has joined #ruby
Inside has quit [Ping timeout: 240 seconds]