apeiros changed the topic of #ruby-lang to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
jhass has joined #ruby-lang
tkuchiki has joined #ruby-lang
benanne has quit [Quit: kbai]
pricees has joined #ruby-lang
bantic has quit [Quit: bantic]
pablocantero has joined #ruby-lang
chouhoulis has joined #ruby-lang
pricees has quit [Ping timeout: 240 seconds]
toretore has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
jmrepetti has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 265 seconds]
cleopatra has joined #ruby-lang
tejas-manohar has joined #ruby-lang
<tejas-manohar> anyone know how to write the sequence alignment/dna matching algo in rb? like just the function that gets the score, specs - http://i.imgur.com/HYJxWaH.png
imkmf has quit [Ping timeout: 245 seconds]
<tejas-manohar> btw, i have line 1 and line 2 as two different strings and passed in as params to my function
<bnagy> yay homework help
toretore has joined #ruby-lang
amsha_ has quit [Quit: Be back later ...]
chouhoulis has joined #ruby-lang
toretore has quit [Ping timeout: 256 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
klmlfl has quit [Remote host closed the connection]
danijoo has joined #ruby-lang
tkuchiki has quit [Ping timeout: 272 seconds]
pablocantero has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: ciao.]
nathanstitt has joined #ruby-lang
slawrenc_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jimbach has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
simi has joined #ruby-lang
mistym has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
shinnya has quit [Ping timeout: 258 seconds]
tejas-manohar has quit [Quit: Page closed]
jimbach has quit [Ping timeout: 258 seconds]
michaeldeol has joined #ruby-lang
hahuang61 has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby-lang
arrubin has quit [Quit: Connection closed for inactivity]
mistym has joined #ruby-lang
EvilJStoker has quit [Ping timeout: 264 seconds]
tbuehlmann has quit [Remote host closed the connection]
Xzyx987X_ has quit [Read error: Connection reset by peer]
amsi has quit [Read error: Connection reset by peer]
Xzyx987X_ has joined #ruby-lang
amsi has joined #ruby-lang
amsi has quit [Client Quit]
apeiros_ has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
EvilJStoker has joined #ruby-lang
robbyoconnor has joined #ruby-lang
apeiros_ has quit [Ping timeout: 240 seconds]
jimbach has joined #ruby-lang
shubhamg_ has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
amclain has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
jo__ has quit [Quit: Connection closed for inactivity]
pricees has joined #ruby-lang
zionpe has joined #ruby-lang
pricees has quit [Ping timeout: 255 seconds]
tharindu has joined #ruby-lang
Newbie0086 has joined #ruby-lang
matp_ has joined #ruby-lang
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
matp has quit [Ping timeout: 240 seconds]
j4cknewt has quit [Remote host closed the connection]
David_H__ has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
David_H_Smith has quit [Ping timeout: 240 seconds]
jimbach has quit [Remote host closed the connection]
yusuf has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mannyt has quit [Quit: Connection closed for inactivity]
zionpe has quit [K-Lined]
j4cknewt has joined #ruby-lang
rickyrickyrice has joined #ruby-lang
NoNMaDDe_ has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt_ has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 245 seconds]
dorei has quit []
Newbie0086 has quit [Ping timeout: 258 seconds]
gjaldon has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
dabradley has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby-lang
Newbie0086 has joined #ruby-lang
hahuang61 has quit [Ping timeout: 258 seconds]
parzzix has joined #ruby-lang
dabradley has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
<bcardarella> Is there a way to get the binding to the super method?
<bcardarella> so if I am in method foo and want to pass the binding of foo's super to another method?
shubhamgoyal has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
NoNMaDDe_ has quit [Quit: Leaving...]
NoNMaDDeN has joined #ruby-lang
Newbie0086 has quit [Ping timeout: 258 seconds]
ZaRDaK has quit [Read error: Connection reset by peer]
ZaRDaK` has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
rickyrickyrice has quit [Remote host closed the connection]
<womble> bcardarella: Do you want the binding, or the method itself?
David_H__ has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
rickyrickyrice has joined #ruby-lang
nathanstitt has joined #ruby-lang
David_H_Smith has quit [Read error: Connection reset by peer]
David_H_Smith has joined #ruby-lang
oleo__ has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
oleo is now known as Guest38444
Guest38444 has quit [Ping timeout: 264 seconds]
David_H_Smith has quit [Ping timeout: 255 seconds]
red_menace has quit []
SuMo_D has joined #ruby-lang
SuMo_D has quit [Client Quit]
jdecuirm__ has quit [Ping timeout: 244 seconds]
rahul_j has joined #ruby-lang
<godd2> What is a binding? Just the relationship between a variable and a value?
<|jemc|> godd2: `ri binding
<|jemc|> * `ri binding`
<godd2> .binding not found, maybe you meant: Pry#binding_stack, Pry::binding_for
<|jemc|> `ri Kernel#binding` ?
<godd2> Nothing known about Kernel#binding
<|jemc|> heh
<|jemc|> and
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> so was I wrong to say that, in general, a binding is a relationship between a variable and a value?
<godd2> I just want to make sure I'm not missing anything
<|jemc|> yeah, I wouldn't call that answer correct
<|jemc|> it represents an execution context
slawrence00 has joined #ruby-lang
<|jemc|> with many variables and their values, among other things
j4cknewt_ has quit [Ping timeout: 264 seconds]
<godd2> okay fair enough. so there are "other things"
<jhass> I think it's fair to say it represents a scope
j4cknewt has joined #ruby-lang
<godd2> If I alter my definition to say "a name and a value" instead, would that not capture the concept?
goodcodeguy has joined #ruby-lang
<godd2> since, per your links, they list variables, methods, and self, which are just 'names'
jdecuirm__ has joined #ruby-lang
<|jemc|> godd2: my main objection to your description was that it sounded like it referred to a single name and value
<godd2> ah so a binding is a collection of such relationships
<|jemc|> yeah
<godd2> a particular one, okay thank you
pricees has joined #ruby-lang
chouhoulis has joined #ruby-lang
<godd2> so a binding can be represented as a hash, since one name can't refer to two values at any given time
pricees has quit [Ping timeout: 255 seconds]
amystephen has quit [Quit: amystephen]
amystephen has joined #ruby-lang
amystephen has quit [Client Quit]
GarethAdams has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
goodcodeguy has quit [Quit: Textual IRC Client: www.textualapp.com]
David_H_Smith has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 272 seconds]
rahul_j_ is now known as rahul_j
tharindu has quit [Ping timeout: 255 seconds]
GarethAdams has joined #ruby-lang
fclausen has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
cornerma1 has joined #ruby-lang
rickyrickyrice has quit []
NoNMaDDeN has joined #ruby-lang
cornerman has quit [Ping timeout: 272 seconds]
cornerma1 is now known as cornerman
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt_ has joined #ruby-lang
ledestin_ has joined #ruby-lang
ledestin has quit [Ping timeout: 264 seconds]
ledestin_ is now known as ledestin
oak has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
parzzix has quit [Ping timeout: 240 seconds]
rahul_j has quit [Ping timeout: 258 seconds]
parzzix has joined #ruby-lang
kyb3r_ has joined #ruby-lang
gix has quit [Ping timeout: 265 seconds]
jimbach has joined #ruby-lang
gix has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
jimbach has quit [Ping timeout: 258 seconds]
NoNMaDDeN has quit [Remote host closed the connection]
cleopatra has quit [Ping timeout: 250 seconds]
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
<bcardarella> womble: sorry I'm on a plane and internet keeps crapping out. I would like the binding so I can call it
hahuang61 has joined #ruby-lang
marcdel has quit []
<womble> bcardarella: You don't call bindings, you evaluate code in the context *of* the binding. I'm pretty sure you want to get a Method, which would be... tricky to get "the method that would be called if this method called super"
<bcardarella> gotcha
<bcardarella> womble: I can get it in UnboundMethod form but that doesn't really help me
<|jemc|> bcardarella: call theUnboundMethod.bind(self).call(arguments_you_want_to_use)
<womble> If you want to execute the method in the current context, you could pass the method and the binding and have the receiver combine the ingredients
<womble> (Salt to taste)
<bcardarella> ah, yes that should work
hahuang61 has quit [Ping timeout: 272 seconds]
AKASkip has joined #ruby-lang
David_H_Smith has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
David_H_Smith has quit [Ping timeout: 250 seconds]
mayday_jay has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
mayday_jay has left #ruby-lang ["Leaving"]
NoNMaDDeN has joined #ruby-lang
AKASkip has quit [Ping timeout: 258 seconds]
_fritchie has quit [Quit: Textual IRC Client: www.textualapp.com]
kalleth_ has quit [Remote host closed the connection]
kalleth has joined #ruby-lang
ZaRDaK` has quit [Quit: Leaving]
caseydriscoll has quit [Remote host closed the connection]
amclain has quit [Quit: Leaving]
j4cknewt has joined #ruby-lang
pricees has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 1.0.1]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt_ has joined #ruby-lang
miqui has joined #ruby-lang
pricees has quit [Ping timeout: 240 seconds]
symm- has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
AKASkip has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 255 seconds]
skade has joined #ruby-lang
parzzix has quit [Read error: Connection reset by peer]
mistym has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
gjaldon has quit []
NoNMaDDeN has joined #ruby-lang
parzzix has joined #ruby-lang
hagabaka has quit [Ping timeout: 255 seconds]
jimbach has joined #ruby-lang
hagabaka has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 244 seconds]
ta has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
rahul_j has joined #ruby-lang
j4cknewt_ has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
Averna has quit [Quit: Leaving.]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
apeiros_ has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
symm- has quit [Ping timeout: 272 seconds]
Xzanron has joined #ruby-lang
David_H_Smith has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
David_H_Smith has quit [Ping timeout: 258 seconds]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
gianlucadv_ has joined #ruby-lang
Xzanron has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: Leaving]
vondruch has quit [Ping timeout: 240 seconds]
q_leonetti has joined #ruby-lang
godd2 has quit [Ping timeout: 255 seconds]
pricees has joined #ruby-lang
allomov has joined #ruby-lang
pricees has quit [Ping timeout: 264 seconds]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saramic has quit [Remote host closed the connection]
ta has joined #ruby-lang
[spoiler] has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
apeiros_ has joined #ruby-lang
allomov has quit [Remote host closed the connection]
parzzix has quit [Ping timeout: 264 seconds]
JohnBat26 has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
shubhamgoyal has quit [Remote host closed the connection]
Xzanron has joined #ruby-lang
hhatch has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
parzzix has joined #ruby-lang
[spoiler] has quit [Read error: Connection reset by peer]
David_H_Smith has joined #ruby-lang
fusillicode has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
[spoiler] has joined #ruby-lang
solars has joined #ruby-lang
vondruch has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 272 seconds]
<heftig> was there any way to 'return' from a load? i.e. skip executing the rest of the loaded file
<heftig> I wanted to avoid the right-shifts created by nested ifs
GBrawl has joined #ruby-lang
<ljarvis> heftig: no, you either need to exit or wrap the code in another condition
<heftig> ljarvis: that exits the program, though
<ljarvis> right ;)
<heftig> meh
<heftig> would be a use for top-level return
|jemc| has quit [Ping timeout: 265 seconds]
arBmind has joined #ruby-lang
benlovell has joined #ruby-lang
jmrepetti has joined #ruby-lang
shtirlic_ has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
clauswitt has joined #ruby-lang
miqui has quit [Ping timeout: 256 seconds]
allomov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
shubhamgoyal has quit [Remote host closed the connection]
shtirlic has quit [Ping timeout: 265 seconds]
shubhamgoyal has joined #ruby-lang
charliesome has joined #ruby-lang
RitterJack has joined #ruby-lang
mamantoha has joined #ruby-lang
rahul_j has joined #ruby-lang
adambeynon has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 244 seconds]
samkottler has quit [Read error: Connection reset by peer]
adambeynon_ has joined #ruby-lang
esmet____ has quit [Read error: Connection reset by peer]
ramblinpeck_ has quit [Write error: Connection reset by peer]
mjc_ has quit [Ping timeout: 244 seconds]
samkottler has joined #ruby-lang
esmet____ has joined #ruby-lang
ramblinpeck_ has joined #ruby-lang
samkottler is now known as Guest73989
pskosinski has joined #ruby-lang
mjc_ has joined #ruby-lang
vang has quit [Ping timeout: 255 seconds]
shtirlic has joined #ruby-lang
GBrawl has quit [Ping timeout: 258 seconds]
gjaldon has joined #ruby-lang
digit0dot1 has joined #ruby-lang
digit0dot1 has quit [Client Quit]
jmrepetti has quit [Remote host closed the connection]
vang has joined #ruby-lang
dangerousdave has joined #ruby-lang
mkaesz has joined #ruby-lang
David_H_Smith has joined #ruby-lang
mkaesz has quit [Client Quit]
mikecmpbll has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 245 seconds]
danijoo has quit [Quit: Leaving...]
robbyoconnor has joined #ruby-lang
NoNMaDDeN has quit [Read error: Connection reset by peer]
NoNMaDDeN has joined #ruby-lang
tbuehlmann has joined #ruby-lang
danijoo has joined #ruby-lang
pricees has joined #ruby-lang
danijoo has quit [Client Quit]
danijoo has joined #ruby-lang
oak has quit [Ping timeout: 258 seconds]
pricees has quit [Ping timeout: 272 seconds]
dangerousdave has quit [Ping timeout: 255 seconds]
marr has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
chussenot has joined #ruby-lang
<yorickpeterse> morning
ozzloy has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
matp_ has quit [Remote host closed the connection]
matp has joined #ruby-lang
jmrepetti has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
arBmind has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
shubhamgoyal has quit [Remote host closed the connection]
shubhamgoyal has joined #ruby-lang
ozzloy has joined #ruby-lang
hahuang61 has quit [Ping timeout: 258 seconds]
rahul_j has quit [Quit: rahul_j]
mattyohe has quit [Quit: Connection closed for inactivity]
rahul_j has joined #ruby-lang
kyb3r_ has quit [Quit: Leaving]
arBmind has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
jimbach has joined #ruby-lang
tkuchiki_ has joined #ruby-lang
tkuchiki has quit [Read error: Connection reset by peer]
David_H_Smith has joined #ruby-lang
qba73 has joined #ruby-lang
jimbach has quit [Ping timeout: 265 seconds]
David_H_Smith has quit [Ping timeout: 272 seconds]
wm3|away has joined #ruby-lang
sarkyniin has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
q_leonetti has joined #ruby-lang
elia has joined #ruby-lang
gjaldon has quit []
JoshuaPaling has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 264 seconds]
q_leonetti has quit [Quit: q_leonetti]
yfeldblum has joined #ruby-lang
q_leonetti has joined #ruby-lang
Xzanron_ has joined #ruby-lang
<ljarvis> hi
gjaldon has joined #ruby-lang
Xzanron has quit [Ping timeout: 240 seconds]
Xzanron has joined #ruby-lang
Xzanron_ has quit [Ping timeout: 250 seconds]
tkuchiki_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 240 seconds]
caseydriscoll has joined #ruby-lang
parzzix has quit [Ping timeout: 264 seconds]
shubhamgoyal has quit [Remote host closed the connection]
quatron has joined #ruby-lang
wm3|away is now known as workmad3
ldnunes has joined #ruby-lang
Caius has quit [Ping timeout: 260 seconds]
Caius has joined #ruby-lang
Caius has joined #ruby-lang
David_H_Smith has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
mamantoha has quit [Ping timeout: 240 seconds]
pricees has joined #ruby-lang
q_leonetti has quit [Ping timeout: 240 seconds]
NoNMaDDeN has quit [Remote host closed the connection]
q_leonetti has joined #ruby-lang
dangerousdave has joined #ruby-lang
pricees has quit [Ping timeout: 240 seconds]
melter has quit [Ping timeout: 244 seconds]
JoshuaPaling has quit [Quit: Textual IRC Client: www.textualapp.com]
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simi has quit [Ping timeout: 265 seconds]
melter has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
pablocantero has joined #ruby-lang
clauswitt has joined #ruby-lang
_br_ has joined #ruby-lang
Miphix has joined #ruby-lang
jimbach has joined #ruby-lang
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
mamantoha has joined #ruby-lang
jimbach has quit [Ping timeout: 244 seconds]
yusuf has quit [Quit: Leaving.]
rahul_j_ has joined #ruby-lang
David_H_Smith has joined #ruby-lang
rahul_j has quit [Ping timeout: 264 seconds]
rahul_j_ is now known as rahul_j
benlovell has quit [Ping timeout: 250 seconds]
benlovell has joined #ruby-lang
parzzix has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 256 seconds]
x0f has quit [Ping timeout: 240 seconds]
x0f has joined #ruby-lang
fclausen has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
godd2 has joined #ruby-lang
simi has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
fclausen has quit [Ping timeout: 272 seconds]
rahul_j has quit [Quit: rahul_j]
parzzix has quit [Ping timeout: 255 seconds]
benlovell has quit [Quit: Lost terminal]
shubhamgoyal has joined #ruby-lang
gjaldon has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
workmad3 is now known as wm3|away
elimS has joined #ruby-lang
shubhamgoyal has quit []
yfeldblum has quit [Ping timeout: 255 seconds]
pricees has joined #ruby-lang
shubhamgoyal has joined #ruby-lang
pricees has quit [Ping timeout: 256 seconds]
GBrawl has joined #ruby-lang
David_H_Smith has joined #ruby-lang
banister has quit [Ping timeout: 272 seconds]
NoNMaDDeN has joined #ruby-lang
mkaesz has joined #ruby-lang
banister has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 256 seconds]
tbuehlmann has quit [Quit: Leaving]
tbuehlmann has joined #ruby-lang
cleopatra has joined #ruby-lang
simi has quit [Ping timeout: 256 seconds]
GBrawl has quit [Quit: (null)]
toretore has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
shinnya has joined #ruby-lang
vang has quit [Ping timeout: 240 seconds]
sarkyniin has quit [Ping timeout: 258 seconds]
sarkyniin has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
jimbach has joined #ruby-lang
gjaldon has quit []
jimbach has quit [Ping timeout: 240 seconds]
elia has quit [Quit: (IRC Client: textualapp.com)]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
caseydriscoll has joined #ruby-lang
elia has joined #ruby-lang
mattyohe has joined #ruby-lang
jmrepetti has joined #ruby-lang
elia has quit [Client Quit]
ta has joined #ruby-lang
simi has joined #ruby-lang
Manchotix has joined #ruby-lang
wm3|away has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
AKASkip has quit [Ping timeout: 240 seconds]
lektrik has joined #ruby-lang
malconis has joined #ruby-lang
JohnBat26 has quit [Remote host closed the connection]
malconis has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
parzzix has joined #ruby-lang
vang has joined #ruby-lang
malconis has joined #ruby-lang
David_H_Smith has joined #ruby-lang
miqui has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 245 seconds]
Asher1 has quit [Quit: Leaving.]
jimbach has joined #ruby-lang
Asher has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
rahul_j has joined #ruby-lang
chouhoulis has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
benlovell has joined #ruby-lang
setanta_ has joined #ruby-lang
wm3|away has joined #ruby-lang
chussenot_ has joined #ruby-lang
chussenot has quit [Ping timeout: 256 seconds]
chussenot_ is now known as chussenot
charliesome has quit [Quit: zzz]
simi has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
charliesome has quit [Client Quit]
pricees has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pricees has quit [Ping timeout: 255 seconds]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
amsha_ has joined #ruby-lang
simi has joined #ruby-lang
wm3|away is now known as workmad3
_elia has joined #ruby-lang
yfeldblum has joined #ruby-lang
whippythellama has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
David_H_Smith has joined #ruby-lang
banister has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
elimS has quit [Quit: Be back later ...]
David_H_Smith has quit [Ping timeout: 258 seconds]
clauswitt has quit [Ping timeout: 250 seconds]
skade has joined #ruby-lang
spastorino has joined #ruby-lang
GBrawl has joined #ruby-lang
Manchotix has quit [Read error: Connection reset by peer]
oleo has joined #ruby-lang
tharindu has joined #ruby-lang
chussenot has quit [Quit: chussenot]
cleopatra has quit [Quit: Saliendo]
Xzanron has quit [Quit: Leaving]
j4cknewt has joined #ruby-lang
pablocantero has quit [Quit: Leaving...]
amsha_ has quit [Quit: Be back later ...]
loincloth has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
j4cknewt has quit [Ping timeout: 255 seconds]
skade has quit [Quit: Computer has gone to sleep.]
j4cknewt has joined #ruby-lang
Sunlorhic has joined #ruby-lang
pablocantero has joined #ruby-lang
skade has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
diegoviola has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
arBmind has joined #ruby-lang
skade has joined #ruby-lang
mannyt has joined #ruby-lang
tenderlove has joined #ruby-lang
nathanstitt has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
banister has quit [Max SendQ exceeded]
ZaRDaK has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
j4cknewt has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
red_menace has joined #ruby-lang
dwknoxy has joined #ruby-lang
symm- has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
oleo has quit [Ping timeout: 258 seconds]
jo__ has joined #ruby-lang
j4cknewt has joined #ruby-lang
j4cknewt_ has quit [Read error: Connection reset by peer]
tenderlove has quit [Quit: Leaving...]
yfeldblum has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
Sunlorhic has quit [Ping timeout: 240 seconds]
ta has quit [Quit: Leaving...]
pricees has joined #ruby-lang
shambrarian has joined #ruby-lang
rahul_j has joined #ruby-lang
oleo has joined #ruby-lang
<crankharder> has anyone seen/heard of any talk that would add a Gemfile directive to read the current ruby version from the local file .ruby-version
<crankharder> this directive would replace, or be an option for the 'ruby' directive that was added a while ago
chussenot has joined #ruby-lang
skade has joined #ruby-lang
<apeiros_> crankharder: isn't a Gemfile plain ruby?
yfeldblum has quit [Ping timeout: 256 seconds]
<crankharder> humm?
<crankharder> referring to this thing: http://bundler.io/v1.5/gemfile_ruby.html
skade has quit [Read error: Connection reset by peer]
<apeiros_> crankharder: I mean since it's plain ruby, just write that 1 line of code to read it from the .ruby-version file.
<apeiros_> trivial, no?
skade has joined #ruby-lang
<apeiros_> ruby File.read('.ruby-version').chomp
<crankharder> true, yes, I could do... `cat .ruby-version`.strip (and I have)
q_leonetti has quit [Quit: q_leonetti]
<apeiros_> cat? shell out? seriously? :D
<crankharder> always shell out :p
<crankharder> yea, was just looking for something more 'official' looking to help pawn the idea off on my larger org
jmrepetti has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
pablocantero has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
<apeiros_> btw., seems `rails c` evaluates the Gemfile 3 times :D
<apeiros_> I wonder why…
GBrawl_ has joined #ruby-lang
<darix> apeiros_: because they can!
<darix> :p
<apeiros_> then they should evaluate it 9 times!
David_H_Smith has joined #ruby-lang
<darix> crankharder: why would it need to read a ruby version file? it is already read by a ruby script and could just ask ruby about the version, platform and stuff?
GBrawl_ has quit [Client Quit]
loincloth has joined #ruby-lang
GBrawl has quit [Ping timeout: 258 seconds]
GBrawl has joined #ruby-lang
elimS has joined #ruby-lang
David_H_Smith has quit [Ping timeout: 255 seconds]
klmlfl has joined #ruby-lang
<workmad3> darix: the 'ruby' directive a Gemfile is saying what version of ruby is allowable
nelsonsa_ has joined #ruby-lang
<workmad3> darix: so it can't just read the RUBY_VERSION variable from the current runtime
klmlfl has quit [Read error: Connection reset by peer]
<workmad3> *directive in a
<apeiros_> and the Gemfile is read, whether you use a version manager or not. the .ruby-version is only read if you use a version manager (which supports it - but by now that's probably all)
klmlfl has joined #ruby-lang
<workmad3> darix: so the idea would be that, rather than repeating the contents of your .ruby-version again in your Gemfile (and remembering to update both places if you update), you instead specify it once and are done with it
<workmad3> personally, I'd prefer to see a version manager that parsed the version out the Gemfile though :)
<apeiros_> I still think Gemfile being ruby code is a bad idea.
<darix> workmad3: so you want "bundle exec rails c" rails if bundler is called with the wrong ruby version?
<apeiros_> but what do I know…
elimS has quit [Ping timeout: 244 seconds]
nelsonsar has quit [Ping timeout: 244 seconds]
<apeiros_> (same for gemspec)
<darix> fails if ...
<apeiros_> darix: yes, correct. that's the point of the ruby directive in the Gemfile.
<workmad3> darix: that's exactly what happens currently if you've got a 'ruby' directive in your Gemfile and you try to run anything
j4cknewt has quit [Read error: Connection reset by peer]
<darix> well
j4cknewt has joined #ruby-lang
<darix> File.read(...).strip
<darix> will work well enough
<darix> anyway
slawrence00 has joined #ruby-lang
<workmad3> darix: I've done that a couple of times :)
<workmad3> darix: I think crankharder's point was more that he'd like it to be more automatic
<apeiros_> and official :)
nelsonsa_ has quit [Ping timeout: 250 seconds]
<workmad3> (mostly, I don't bother with a ruby directive in my Gemfile... I just put in a .ruby-version, if someone wants to ignore that and use a different version, fair enough :) )
<darix> apeiros_: i think having a ruby based DSL for it ... otherwise you end up implementing a lot of wrapper function for base functionality. which is sometimes annoying e.g. in puppet
<darix> workmad3: what reads ".ruby-version" normally?
<apeiros_> darix: just use yaml.
ZaRDaK has quit [Quit: Leaving]
<apeiros_> no need for any wrapper function.
<apeiros_> and it's immediately readable by other languages.
<apeiros_> and if yaml doesn't cover what you need, you're probably trying to stuff too much into it
nelsonsar has joined #ruby-lang
<apeiros_> darix: and you think having/doing that is a good idea? why?
mnngfltg has joined #ruby-lang
<darix> ruby platform specific things
mistym has joined #ruby-lang
<darix> apeiros_: yes. my Gemfile.local loads pry and stuff which i dont need on the deployment host
<apeiros_> darix: Gemfile already provides mechanisms for that
<apeiros_> you're reinventing a wheel.
<darix> apeiros_: i am not the discourse author
<apeiros_> and making it more confusing for other people to join your project
<darix> apeiros_: and it is just an example.
<apeiros_> then hit the discourse author with a stick
<workmad3> darix: .ruby-version is generally used by a ruby version manager (rvm, rbenv or chruby) to automatically switch ruby version
<darix> apeiros_: how would you express all those ifs in yaml
<apeiros_> darix: indeed. a great example of why it's not a good idea that it is code.
<apeiros_> I wouldn't.
<apeiros_> those if's don't belong there.
<apeiros_> that'd be the "you're trying to stuff things into it which don't belong there"
sarkyniin has quit [Ping timeout: 265 seconds]
<darix> apeiros_: imho platform specific things will always be required
<apeiros_> darix: again, reinventing wheels.
<darix> jruby is greeting with its AR jdbc stuff
<darix> apeiros_: not really.
<apeiros_> and reinventing wheels in those things just makes stuff harder for everybody.
<darix> apeiros_: how would you express it in yaml?
<apeiros_> darix: yes, really.
<apeiros_> again: wrong place.
<darix> apeiros_: you are nitpicking on the format that discourse uses
<darix> apeiros_: where else would you put it?
<apeiros_> so that question makes no sense to begin with
<darix> (which i asked already)
<apeiros_> darix: if that's how they chose to use the gemfile, then yes, I say they do it wrong.
GBrawl has quit [Quit: (null)]
<workmad3> apeiros_: something like: https://gist.github.com/workmad3/122ee7a0b8d9b48edb73
<apeiros_> workmad3: yupp. misses groups, but otherwise, something to that avail.
<darix> and platform specific groups
<darix> also limit it to just certain ruby platform versions
klmlfl_ has joined #ruby-lang
<apeiros_> honestly, the platform specific should be handled on gem level.
<apeiros_> but yes, realistically it probably needs to be in the gemfile too, since some gems don't handle it.
<darix> and even then you write much more code to express the same which could be much easier expressed with e.g. some ruby dsl
<apeiros_> um, no
solars has quit [Ping timeout: 255 seconds]
<apeiros_> the code part is probably even less.
<darix> apeiros_: how would you handle it to load jdbc on jruby and plain pg on mri?
<darix> i mean on gem level
<crankharder> oh man, I've missed so much chatter
<darix> bundle needs to know to install them fore you
<darix> for you..
<workmad3> darix: you'd have both gems in there, with the suitable platform for each
<darix> workmad3: yes. totally awesome
sarkyniin has joined #ruby-lang
<darix> have bundler unused gems which might have lots of fun with build dependencies when you dont even need them.
<darix> ...
<workmad3> not saying I'm in preference of a yaml Gemfile... it reminds me too much of maven POM files :)
<workmad3> darix: that's what bundler already does... and it's good that it does so
<workmad3> darix: because it means that it'll resolve the rest of the dependencies with both versions in mind, so you don't end up with versions that can be used with one gem and not the other
<bcardarella> Is there a way to access the original method that a module has prepended over? I have a failing test case here that demonstrates (I hope) what I'd like to do: https://gist.github.com/bcardarella/b38fe97bade7d4ac097e
klmlfl has quit [Ping timeout: 256 seconds]
<apeiros_> darix: I'd have to search for that. but I'm sure drbrain can fill you in on how to build multi platform gems
<darix> apeiros_: you are playing stubborn today?
<apeiros_> as for how I'd express it in a yaml gemfile: probably through metadata per group
<darix> apeiros_: you can be pretty sure i am well aware of packaging
<apeiros_> darix: no. but it might surprise you that I actually do work too…
<apeiros_> also, asking me to reinvent bundlers gemspec on the spot is a tad unrealistic.
<workmad3> a yaml format would certainly handle 90% or more of normal Gemfile use though, IMO... and the other small %age are the Gemfile uses that tend to cause headaches, problems and other issues too :)
<apeiros_> "see! you can't come up with how to do a replacement of something grown within ~4y within 5min! so it can't be replaced!"
<apeiros_> that's just silly hyperbole.
sarkyniin has quit [Client Quit]
slawrence00 has quit [Quit: Textual IRC Client: www.textualapp.com]
mamantoha has quit [Ping timeout: 245 seconds]
<workmad3> apeiros_: :D
<darix> apeiros_: i really hate people who claim "this handles 90% of the use cases most people have and i dont give a shit what the rest 10% needs"
<apeiros_> darix: feel free to hate me :-p
<apeiros_> though, my line reads differently
<godd2> hey, if he thinks he can build a better bundler, more power to him
<workmad3> apeiros_: give me another 10m and I'll probably have gotten bored enough to write a Gemfile that can parse a Gemfile.yml and splat it into bundler's DSL :)
<apeiros_> "this handles 90% of the cases at present, and 99.9% of the legitimate cases. the 9.9% illegitimate cases can go screw themselves, or do it properly, and the effort to cover 100% is never worth it"
<darix> apeiros_: yes
<darix> just like yorick's claim that entities are not a thing a proper xml/html parser has to handle.
<apeiros_> workmad3: that'd probably be a viable way to replace it :)
<workmad3> darix: the times I've encountered people doing conditionals and other normal ruby stuff in a Gemfile, they've generally managed to completely screw things up so they end up with an undeployable Gemfile.lock
<workmad3> darix: so yeah... screw them :)
<darix> workmad3: people will also screw them self up with yaml files.
<apeiros_> of course. but they'll screw a tad bit less.
slawrence00 has joined #ruby-lang
<godd2> darix the ability for a tool to be misused does not negate the benefits of the tool
<apeiros_> it's impossible to get people not to screw up. essential truth in life.
<apeiros_> anway, as I said, I actually got work to do.
sarkyniin has joined #ruby-lang
<darix> apeiros_: which you could also use to argue, that this means limiting the valid uses cases, that the ruby dsl brings because of people screwing themself up, is not the best idea.
<darix> apeiros_: so stop chatting and more coding! :p
<apeiros_> YOU DON'T LET ME!!!! :D
benlovell has quit [Ping timeout: 264 seconds]
<darix> pfff
<apeiros_> we shall talk again in 2027, when my language is finished. (10y ago I said 2017… time passes far too quickly :-S)
<darix> apeiros_: just switch to 12hour days... then you got twice as many days at your disposal :p
<whitequark> darix: arguably, this is because yaml is crap :]
imkmf has joined #ruby-lang
|jemc| has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
<workmad3> apeiros_: waste 2 weeks training your body into polyphasic sleep patterns, then relish the extra 6 hours a day you gain? :D
<workmad3> whitequark: could be worse... I could have done an XML file :D
<workmad3> and, thinking about it, I'd probably prefer a JSON file than a YAML file...
<darix> workmad3: SGML please. more fun to parse :p
sarkyniin has quit [Ping timeout: 240 seconds]
centrx has joined #ruby-lang
imkmf_ has joined #ruby-lang
<whitequark> btw, there is a project using parser to parse gemfiles
<whitequark> I think
<whitequark> and if there is not, you can actually do that easily
imkmf has quit [Ping timeout: 264 seconds]
cornerma1 has joined #ruby-lang
amsha_ has joined #ruby-lang
RitterJack has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
rippa has joined #ruby-lang
pricees has quit [Ping timeout: 244 seconds]
<workmad3> apeiros_: hehe :) json version: https://gist.github.com/workmad3/122ee7a0b8d9b48edb73
yfeldblum has joined #ruby-lang
AKASkip has joined #ruby-lang
<apeiros_> :)
David_H_Smith has quit []
<apeiros_> gread for interop, horrible for human rw/ability
<workmad3> apeiros_: I'm obviously too inoculated to JS... I have no trouble reading JSON
<godd2> Javascriptholme Syndrome
amsi has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
<apeiros_> off for commute, cya guys
<apeiros_> and girls
<apeiros_> and everybody else
<workmad3> apeiros_: hf
arBmind has quit [Quit: Leaving.]
<apeiros_> na, gotta go to zurich. that train is usually quite full :-S
apeiros_ has quit []
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarkyniin has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
j4cknewt has joined #ruby-lang
arBmind has joined #ruby-lang
matp_ has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
matp has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
nelsonsar has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
rahul_j has quit [Quit: rahul_j]
jmrepetti has quit [Remote host closed the connection]
Guest73989 is now known as samkottler
samkottler has quit [Changing host]
samkottler has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
solars has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
j4cknewt has joined #ruby-lang
mkaesz has quit [Remote host closed the connection]
mkaesz has joined #ruby-lang
michaeldeol has joined #ruby-lang
mkaesz has quit [Ping timeout: 258 seconds]
michaeldeol has quit [Client Quit]
robbyoconnor has quit [Ping timeout: 258 seconds]
j4cknewt_ has joined #ruby-lang
j4cknewt has quit [Ping timeout: 258 seconds]
michaeldeol has joined #ruby-lang
sarkyniin has quit [Ping timeout: 255 seconds]
mistym has joined #ruby-lang
duderonomy has joined #ruby-lang
duderonomy has quit [Client Quit]
duderonomy has joined #ruby-lang
j4cknewt_ has quit [Remote host closed the connection]
klmlfl_ has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
chinmay_dd has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
mikecmpbll has quit [Ping timeout: 255 seconds]
toretore has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
mnngfltg has quit [Remote host closed the connection]
jgpawletko has joined #ruby-lang
pricees has joined #ruby-lang
chinmay_dd has quit [Quit: Leaving]
jimbach has quit [Quit: Leaving...]
_elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 256 seconds]
hahuang61 has joined #ruby-lang
pricees has quit [Ping timeout: 264 seconds]
pricees has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
hahuang61 has quit [Ping timeout: 272 seconds]
fusillicode has joined #ruby-lang
toretore has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
elimS has joined #ruby-lang
j4cknewt has quit [Ping timeout: 258 seconds]
jimbach has joined #ruby-lang
imkmf_ has quit [Ping timeout: 272 seconds]
dangerousdave has joined #ruby-lang
elimS has quit [Ping timeout: 258 seconds]
tharindu has quit [Ping timeout: 250 seconds]
klmlfl has joined #ruby-lang
clauswitt has joined #ruby-lang
pricees has quit [Ping timeout: 250 seconds]
ahmetkapikiran has joined #ruby-lang
unsymbol has quit [Ping timeout: 256 seconds]
j4cknewt_ has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
banister has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
nertzy has quit [Quit: Leaving]
gix has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
unsymbol has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
ta has joined #ruby-lang
j4cknewt has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
arBmind has joined #ruby-lang
gix has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
imkmf has joined #ruby-lang
nertzy has joined #ruby-lang
michaeldeol has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
imkmf has quit [Ping timeout: 264 seconds]
imkmf has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Client Quit]
nelsonsar has quit [Remote host closed the connection]
marr has quit [Ping timeout: 272 seconds]
Lingos has joined #ruby-lang
allomov has quit [Remote host closed the connection]
njames has joined #ruby-lang
pricees has joined #ruby-lang
hahuang61 has joined #ruby-lang
loincloth has joined #ruby-lang
clauswitt has joined #ruby-lang
caseydriscoll has joined #ruby-lang
postmodern has joined #ruby-lang
ahmetkapikiran has quit [Quit: ahmetkapikiran]
sarkyniin has joined #ruby-lang
dangerousdave has joined #ruby-lang
Blaguvest has quit [Read error: Connection reset by peer]
cmhobbs has joined #ruby-lang
sarkyniin has quit [Quit: Quitte]
imkmf has quit [Quit: Textual IRC Client: www.textualapp.com]
imkmf has joined #ruby-lang
arrubin has joined #ruby-lang
tockitj has joined #ruby-lang
<tockitj> hello
<centrx> Ahoy
postmodern has quit [Quit: Leaving]
postmodern has joined #ruby-lang
matp_ has quit [Quit: Bye!]
tbuehlmann has joined #ruby-lang
matp has joined #ruby-lang
nelsonsar has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
M3M0CooL has joined #ruby-lang
tenderlove has joined #ruby-lang
skade has joined #ruby-lang
j4cknewt has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
wallerdev has quit [Quit: wallerdev]
banister has joined #ruby-lang
wallerdev has joined #ruby-lang
marr has joined #ruby-lang
nelsonsar has quit [Remote host closed the connection]
elimS has joined #ruby-lang
hhatch has quit [Ping timeout: 264 seconds]
bahar has quit [Ping timeout: 258 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banister has joined #ruby-lang
Lingos has quit [Quit: Be back later ...]
elimS has quit [Ping timeout: 265 seconds]
nelsonsar has joined #ruby-lang
bahar has joined #ruby-lang
parenjitsu has joined #ruby-lang
yfeldblum has joined #ruby-lang
seank__ has quit [Read error: No route to host]
seank_ has joined #ruby-lang
ur5us has joined #ruby-lang
cmhobbs has quit [Ping timeout: 256 seconds]
ahmetkapikiran has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
Lingos has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
loincloth has quit [Remote host closed the connection]
hramrach_ has quit [Ping timeout: 250 seconds]
sarkyniin has joined #ruby-lang
loincloth has joined #ruby-lang
_fritchie has joined #ruby-lang
pricees has quit [Ping timeout: 258 seconds]
ldnunes has quit [Quit: Leaving]
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
pricees has joined #ruby-lang
cmhobbs has joined #ruby-lang
workmad3 has joined #ruby-lang
hramrach_ has joined #ruby-lang
matp_ has joined #ruby-lang
dagda1 has joined #ruby-lang
dagda1 has quit [Client Quit]
wallerdev has quit [Quit: wallerdev]
hachiya has joined #ruby-lang
matp has quit [Ping timeout: 264 seconds]
fclausen has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
yfeldblu_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 258 seconds]
skade has joined #ruby-lang
elia has joined #ruby-lang
nelsonsa_ has joined #ruby-lang
nelsonsar has quit [Ping timeout: 255 seconds]
skade has quit [Quit: Computer has gone to sleep.]
nelsonsa_ has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
mistym has joined #ruby-lang
lewis has joined #ruby-lang
lewis is now known as Lewix
bantic has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
centrx has joined #ruby-lang
gianlucadv_ has quit [Ping timeout: 244 seconds]
nelsonsar has joined #ruby-lang
gianlucadv_ has joined #ruby-lang
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
<yorickpeterse> whitequark: PING PING PING
yfeldblu_ has quit [Remote host closed the connection]
<whitequark> pong
<yorickpeterse> whitequark: is there a way to tell Parser::Rewriter to recursively process nodes by default?
Sunlorhic has joined #ruby-lang
j4cknewt_ has joined #ruby-lang
<whitequark> hrm
<whitequark> what?
elimS has joined #ruby-lang
<whitequark> Rewriter is a subclass of Processor
<whitequark> of course it processes nodes recursively
<whitequark> but you should call super if you define any on_ methods
nertzy has quit [Quit: This computer has gone to sleep]
iTrace has joined #ruby-lang
<yorickpeterse> ah
<yorickpeterse> ty
matp has joined #ruby-lang
yfeldblum has joined #ruby-lang
elimS has quit [Ping timeout: 256 seconds]
matti has quit [Ping timeout: 264 seconds]
imkmf has quit [Quit: Textual IRC Client: www.textualapp.com]
amsi has quit [Ping timeout: 255 seconds]
nelsonsar has quit []
matti has joined #ruby-lang
matti has joined #ruby-lang
matp_ has quit [Ping timeout: 258 seconds]
symm- has quit [Ping timeout: 264 seconds]
nelsonsar has joined #ruby-lang
nelsonsar has quit [Client Quit]
NoNMaDDeN has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
pricees has quit [Ping timeout: 240 seconds]
JohnBat26 has joined #ruby-lang
matti has quit [Quit: Reconnecting]
matti has joined #ruby-lang
matti has quit [Changing host]
matti has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 245 seconds]
imkmf has joined #ruby-lang
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby-lang
spuk has quit [Ping timeout: 255 seconds]
nelsonsar has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mistym has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sunlorhic has quit [Ping timeout: 240 seconds]
michaeldeol has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
Lingos has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
mistym has joined #ruby-lang
miqui has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 272 seconds]
wallerdev has joined #ruby-lang
yourabi has joined #ruby-lang
elia has joined #ruby-lang
amsi has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
j4cknewt_ has quit [Ping timeout: 258 seconds]
matp has quit [Remote host closed the connection]
nelsonsar has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
nathanstitt has quit [Ping timeout: 256 seconds]
j4cknewt_ has joined #ruby-lang
nofxx has joined #ruby-lang
matp has joined #ruby-lang
j4cknewt has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
pricees has joined #ruby-lang
simi has quit [Ping timeout: 245 seconds]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nelsonsar has joined #ruby-lang
pricees has quit [Ping timeout: 264 seconds]
ta has quit [Quit: Leaving...]
yourabi has quit [Quit: Textual IRC Client: www.textualapp.com]
yourabi has joined #ruby-lang
ta has joined #ruby-lang
dagda1 has joined #ruby-lang
yourabi has quit [Client Quit]
tenderlove has joined #ruby-lang
jmrepetti has joined #ruby-lang
yourabi has joined #ruby-lang
saramic_ has joined #ruby-lang
yourabi has quit [Remote host closed the connection]
pricees has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
iTrace has quit [Quit: (null)]
jimbach has quit [Remote host closed the connection]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
GBrawl has joined #ruby-lang
caseydriscoll has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
clauswitt has joined #ruby-lang
sarkyniin has quit [Remote host closed the connection]
jkad1 has joined #ruby-lang
lektrik has quit [Quit: Leaving]
banister is now known as banisterfiend
clauswitt has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gianlucadv_ has quit [Ping timeout: 258 seconds]
tenderlove has joined #ruby-lang
ruby-lang269 has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
cmhobbs has quit [Quit: Leaving]
bmichelsen has joined #ruby-lang
malconis_ has joined #ruby-lang
chussenot_ has joined #ruby-lang
chussenot_ has quit [Client Quit]
loincloth has joined #ruby-lang
jkad1 has quit [Quit: WeeChat 1.0.1]
chussenot has quit [Ping timeout: 258 seconds]
malconis has quit [Ping timeout: 272 seconds]
<ruby-lang269> I'm not able to figure out what i'm doing wrong here. Can someone clear up why i'm not getting [5, 4, 3, 2, 1] back from the method. https://paste.fedoraproject.org/151987/51054141/ - thanks
<centrx> ruby-lang269, Wouldn't it be array.sort(yield) ?
<centrx> aka array.sort(&block)
tenderlove has quit [Remote host closed the connection]
<ruby-lang269> centrx - with an explicit block it works. Trying to figure out why the implicit block doesn't. Doing array.sort(yield) gives me - wrong number of arguments (1 for 0) (ArgumentError)
tenderlove has joined #ruby-lang
<centrx> ruby-lang269, Looks like it has to be done with the &block syntax
<centrx> ruby-lang269, So &block would be the last parameter of the sortarray_sort method, and the parameter passed to array.sort
tenderlove has quit [Remote host closed the connection]
<ruby-lang269> centrx: thanks. Any docs/references you could point me to on why the yield doesn't work. This was just an exercise for me but curious in knowing why. Thanks again for your help.
setanta_ has quit [Quit: Leaving]
M3M0CooL has quit []
<centrx> ruby-lang269, It ought to work perhaps, but "yield" does not pass the block, it calls it
<centrx> ruby-lang269, So yield is analogous to block.call, but there is no yield.uncall or whatever
loincloth has quit [Remote host closed the connection]
<ruby-lang269> centrx - good stuff. array.sort(&Proc.new) works with an implicit block. Anyhoo i've spent 2 hours on this and wasn't any closer to understanding. Thanks for the help.
j4cknewt_ has quit [Ping timeout: 240 seconds]
j4cknewt has joined #ruby-lang
AKASkip has quit [Ping timeout: 258 seconds]
pricees has quit [Ping timeout: 255 seconds]
spuk has joined #ruby-lang
shambrarian has quit [Quit: bye!]
jgpawletko has quit [Quit: jgpawletko]
Averna has joined #ruby-lang
djbkd has joined #ruby-lang
nofxx has quit [Ping timeout: 265 seconds]
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
tenderlove has joined #ruby-lang
spastorino has quit [Quit: Connection closed for inactivity]
j4cknewt has quit [Read error: No route to host]
workmad3 has joined #ruby-lang
j4cknewt has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
j4cknewt has quit [Read error: No route to host]
j4cknewt has joined #ruby-lang
workmad3 has quit [Ping timeout: 250 seconds]
skade has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
spuk has quit [Ping timeout: 240 seconds]
solars has quit [Ping timeout: 264 seconds]
ta has quit [Remote host closed the connection]
ta has joined #ruby-lang
spuk has joined #ruby-lang
ta has quit [Ping timeout: 272 seconds]
chussenot has joined #ruby-lang
shennyg____ has quit []
shennyg has joined #ruby-lang
ruby-lang269 has quit [Ping timeout: 246 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jmrepetti has quit [Remote host closed the connection]
imkmf has quit [Ping timeout: 256 seconds]