apeiros changed the topic of #ruby-lang to: Ruby 2.1.4; 2.0.0-p594; 1.9.3-p550: http://ruby-lang.org || Paste code on http://gist.github.com
jimbach has quit [Remote host closed the connection]
darix has joined #ruby-lang
Lewix has joined #ruby-lang
CaryInVictoria has quit [Remote host closed the connection]
mfmfmfmfmfmf has quit [Remote host closed the connection]
oak has quit [Ping timeout: 244 seconds]
oak has joined #ruby-lang
csurap has joined #ruby-lang
RobertBirnie has quit [Ping timeout: 245 seconds]
darix- has joined #ruby-lang
darix- has quit [Client Quit]
oak has quit [Ping timeout: 264 seconds]
ender|dkm has quit [Ping timeout: 255 seconds]
q_leonetti has quit [Quit: q_leonetti]
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby-lang
amsha has joined #ruby-lang
bruno- has quit [Ping timeout: 244 seconds]
lsegal has joined #ruby-lang
amsha_ has joined #ruby-lang
q_leonetti has joined #ruby-lang
amsi has quit [Quit: Leaving]
nertzy has quit [Quit: This computer has gone to sleep]
amsha has quit [Read error: Connection reset by peer]
kaczmar has quit [Quit: kaczmar]
amsha_ has quit [Client Quit]
KINGSABRI has quit [Ping timeout: 264 seconds]
yusuf has joined #ruby-lang
amsha has joined #ruby-lang
brianpWins has quit [Ping timeout: 256 seconds]
nertzy has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby-lang
KINGSABRI has joined #ruby-lang
bungoman has joined #ruby-lang
yusuf has quit [Quit: Leaving.]
workmad3 has quit [Ping timeout: 264 seconds]
yusuf has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
yusuf1 has joined #ruby-lang
yusuf1 has quit [Max SendQ exceeded]
pablocantero has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby-lang
yusuf has quit [Ping timeout: 265 seconds]
snsei has quit [Ping timeout: 264 seconds]
ItSANgo has quit [Quit: Leaving...]
nertzy has quit [Quit: This computer has gone to sleep]
bungoman has quit []
mattyohe has quit [Quit: Connection closed for inactivity]
volty has joined #ruby-lang
snsei has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
mfmfmfmfmfmf has joined #ruby-lang
mikecmpbll has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
snsei has quit [Ping timeout: 245 seconds]
ItSANgo has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
mikecmpbll has quit [Quit: i've nodded off.]
mikecmpbll has joined #ruby-lang
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
apt-get_ has quit [Quit: Quitte]
ender|dkm has joined #ruby-lang
shevy has left #ruby-lang ["I'll be back ... maybe"]
marr has quit [Ping timeout: 264 seconds]
matp has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
snsei has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby-lang
frank_o has quit [Quit: Frank | Official Trailer: https://www.youtube.com/watch?v=-catC4tBVyY]
ItSANgo has quit [Quit: Leaving...]
csurap has quit [Quit: csurap]
rkowalick has joined #ruby-lang
cornerma1 has joined #ruby-lang
isale-eko has joined #ruby-lang
oak has joined #ruby-lang
nofxx has quit [Ping timeout: 258 seconds]
cornerman has quit [Ping timeout: 244 seconds]
cornerma1 is now known as cornerman
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
ender|dkm has joined #ruby-lang
rkowalick has quit [Ping timeout: 256 seconds]
rkowalick has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
trevjburns has quit [Remote host closed the connection]
pablocantero has joined #ruby-lang
volty has quit [Quit: Konversation terminated!]
pablocantero has quit [Remote host closed the connection]
jo__ has quit [Quit: Connection closed for inactivity]
isale-eko has quit [Quit: ChatZilla 0.9.91 [Firefox 33.0.2/20141027150301]]
mikecmpbll has quit [Quit: i've nodded off.]
yusuf has joined #ruby-lang
oak1 has joined #ruby-lang
kurko__ has joined #ruby-lang
oak has quit [Ping timeout: 272 seconds]
kurko has quit [Ping timeout: 255 seconds]
oak1 has quit [Ping timeout: 272 seconds]
mistym has quit [Remote host closed the connection]
cleopatra has joined #ruby-lang
shinnya has quit [Ping timeout: 264 seconds]
JoshuaPaling has joined #ruby-lang
rkowalick has quit [Quit: leaving]
JoshuaPaling has quit [Client Quit]
dorei has quit []
q_leonetti has joined #ruby-lang
amsha has quit [Quit: Be back later ...]
ender|dkm has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
q_leonetti has quit [Quit: q_leonetti]
oak has joined #ruby-lang
ItSANgo has joined #ruby-lang
matp has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
matp has joined #ruby-lang
amsha has joined #ruby-lang
amaterasu48 has joined #ruby-lang
amaterasu48 has quit [Ping timeout: 245 seconds]
Miphix has joined #ruby-lang
charliesome has joined #ruby-lang
mistym has joined #ruby-lang
amaterasu48 has joined #ruby-lang
havenwood has joined #ruby-lang
araujo has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
ender|dkm has joined #ruby-lang
amaterasu48 has left #ruby-lang [#ruby-lang]
ender|dkm has quit [Ping timeout: 255 seconds]
j4cknewt has quit [Remote host closed the connection]
havenwood has quit []
fuhgeddaboudit has quit [Ping timeout: 244 seconds]
Miphix has quit [Quit: Leaving]
sepp2k has quit [Read error: Connection reset by peer]
fuhgeddaboudit has joined #ruby-lang
arBmind has joined #ruby-lang
arBmind1 has quit [Ping timeout: 256 seconds]
oak has quit [Ping timeout: 240 seconds]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has quit [Remote host closed the connection]
gix has quit [Ping timeout: 265 seconds]
shinnya has joined #ruby-lang
ender|dkm has joined #ruby-lang
gix has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
pablocantero has joined #ruby-lang
michael_mbp has quit [Excess Flood]
amsha has quit [Quit: Be back later ...]
pablocantero has quit [Ping timeout: 258 seconds]
michael_mbp has joined #ruby-lang
JohnBat26 has joined #ruby-lang
kyb3r_ has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
hackingoff has quit [Remote host closed the connection]
fuhgeddaboudit has quit [Ping timeout: 256 seconds]
RobertBirnie has joined #ruby-lang
RobertBirnie has quit [Client Quit]
shinnya has quit [Ping timeout: 265 seconds]
oak has joined #ruby-lang
j4cknewt has joined #ruby-lang
rippa has joined #ruby-lang
oak has quit [Ping timeout: 255 seconds]
AKASkip has joined #ruby-lang
ender|dkm has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
mistym has joined #ruby-lang
gjaldon has joined #ruby-lang
x0f has quit [Ping timeout: 260 seconds]
x0f has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
jeremydurham has joined #ruby-lang
ledestin has quit [Ping timeout: 245 seconds]
gianlucadv has joined #ruby-lang
ledestin has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jeremydurham has quit [Quit: jeremydurham]
ender|dkm has joined #ruby-lang
amsha has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
ender|dkm has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
amsha has quit [Ping timeout: 245 seconds]
q_leonetti has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
kaczmar has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
gjaldon has joined #ruby-lang
dagda1 has joined #ruby-lang
charliesome has quit [Quit: zzz]
dagda1 has quit [Client Quit]
fusillicode has joined #ruby-lang
mfmfmfmfmfmf has quit [Remote host closed the connection]
mfmfmfmfmfmf has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 258 seconds]
charliesome has joined #ruby-lang
mfmfmfmfmfmf has quit [Ping timeout: 245 seconds]
ender|dkm has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
ender|dkm has quit [Ping timeout: 255 seconds]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Ping timeout: 256 seconds]
fusillicode has joined #ruby-lang
fusillicode2 has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 256 seconds]
fusillicode has quit [Ping timeout: 272 seconds]
caseydriscoll has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
caseydriscoll has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
ozzloy has quit [Ping timeout: 240 seconds]
yusuf has quit [Quit: Leaving.]
amsha has joined #ruby-lang
charliesome has quit [Quit: zzz]
charliesome has joined #ruby-lang
amsha has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
ozzloy has joined #ruby-lang
ender|dkm has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
snsei has joined #ruby-lang
kaczmar has quit [Ping timeout: 272 seconds]
q_leonetti has quit [Quit: q_leonetti]
snsei has quit [Ping timeout: 272 seconds]
kaczmar has joined #ruby-lang
KINGSABRI has quit [Ping timeout: 264 seconds]
matp has quit [Ping timeout: 256 seconds]
gianlucadv has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby-lang
q_leonetti has joined #ruby-lang
ender|dkm has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
KINGSABRI has joined #ruby-lang
fusillicode2 has quit [Ping timeout: 244 seconds]
symm- has joined #ruby-lang
t4nk629 has joined #ruby-lang
nofxx has quit [Ping timeout: 255 seconds]
t4nk629 has quit [Client Quit]
kaczmar has quit [Quit: kaczmar]
GBrawl has joined #ruby-lang
dagda1 has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
stamina has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
q_leonetti has joined #ruby-lang
amsha has joined #ruby-lang
mikecmpbll has joined #ruby-lang
amsha has quit [Ping timeout: 264 seconds]
dangerousdave has joined #ruby-lang
arBmind has joined #ruby-lang
kaczmar has joined #ruby-lang
bin7me has joined #ruby-lang
snsei has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
Miphix has joined #ruby-lang
mikecmpbll has joined #ruby-lang
snsei has quit [Ping timeout: 244 seconds]
ender|dkm has joined #ruby-lang
shinnya has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
ender|dkm has quit [Ping timeout: 255 seconds]
kaczmar has quit [Quit: kaczmar]
q_leonetti has joined #ruby-lang
chussenot has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
q_leonetti has quit [Client Quit]
mfmfmfmfmfmf has joined #ruby-lang
pablocantero has joined #ruby-lang
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby-lang
rippa has joined #ruby-lang
sarkyniin has joined #ruby-lang
red_menace has joined #ruby-lang
q_leonetti has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
stamina has quit [Ping timeout: 256 seconds]
tbuehlmann has joined #ruby-lang
GBrawl has quit [Quit: (null)]
ender|dkm has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
stef204 has joined #ruby-lang
oleo is now known as Guest78695
oleo__ has joined #ruby-lang
ikrima has quit [Ping timeout: 245 seconds]
Guest78695 has quit [Ping timeout: 265 seconds]
yfeldblum has quit [Remote host closed the connection]
danijoo has quit [Read error: Connection reset by peer]
kaczmar has joined #ruby-lang
danijoo has joined #ruby-lang
kramsee has quit [Ping timeout: 272 seconds]
ledestin_ has joined #ruby-lang
amsha has joined #ruby-lang
ledestin has quit [Ping timeout: 245 seconds]
ledestin_ is now known as ledestin
jmrepetti has joined #ruby-lang
mfmfmfmfmfmf has quit [Ping timeout: 256 seconds]
amsha has quit [Ping timeout: 258 seconds]
mfmfmfmfmfmf has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
kramsee has joined #ruby-lang
jmrepetti has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
q_leonetti has quit [Quit: q_leonetti]
jmrepetti has quit [Ping timeout: 272 seconds]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yfeldblum has joined #ruby-lang
stef204 has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
dailite has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
matp has joined #ruby-lang
yfeldblu_ has quit [Ping timeout: 255 seconds]
chussenot has quit [Quit: chussenot]
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
stef204 has joined #ruby-lang
kaczmar has joined #ruby-lang
thumpba has joined #ruby-lang
ender|dkm has joined #ruby-lang
jimbach has joined #ruby-lang
fusillicode has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
KINGSABRI has quit [Ping timeout: 256 seconds]
fusillicode has quit [Ping timeout: 244 seconds]
chussenot has joined #ruby-lang
gianlucadv has joined #ruby-lang
q_leonetti has joined #ruby-lang
q_leonetti has quit [Client Quit]
thumpba_ has joined #ruby-lang
GBrawl has joined #ruby-lang
sarkyniin has quit [Ping timeout: 264 seconds]
michd is now known as MichD
thumpba has quit [Ping timeout: 250 seconds]
MichD is now known as michd
dailite has quit [Ping timeout: 246 seconds]
snsei has joined #ruby-lang
fusillicode has joined #ruby-lang
mfmfmfmfmfmf has quit [Read error: Connection reset by peer]
cored has joined #ruby-lang
cored has joined #ruby-lang
thumpba_ has quit []
snsei has quit [Ping timeout: 255 seconds]
fusillicode has quit [Ping timeout: 256 seconds]
chussenot has quit [Quit: chussenot]
q_leonetti has joined #ruby-lang
gianlucadv has quit [Ping timeout: 272 seconds]
symm- has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby-lang
charliesome has quit [Quit: zzz]
kaczmar has quit [Ping timeout: 258 seconds]
benlovell has joined #ruby-lang
jeremydurham has joined #ruby-lang
kaczmar has joined #ruby-lang
jeremydurham has quit [Client Quit]
j4cknewt has quit [Remote host closed the connection]
j4cknewt has joined #ruby-lang
M3M0CooL has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
fusillicode has joined #ruby-lang
j4cknewt has quit [Ping timeout: 250 seconds]
Caius has quit [Ping timeout: 260 seconds]
csurap has joined #ruby-lang
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
yfeldblum has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
fusillicode has quit [Ping timeout: 258 seconds]
danijoo_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
Caius has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
kaczmar has joined #ruby-lang
arooni-mobile has joined #ruby-lang
nifoc has quit [Ping timeout: 244 seconds]
nifoc has joined #ruby-lang
jeremydurham has joined #ruby-lang
ender|dkm has joined #ruby-lang
michd is now known as MichD
fusillicode has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
jeremydurham has quit [Quit: jeremydurham]
fusillicode has quit [Ping timeout: 265 seconds]
amsha has joined #ruby-lang
GBrawl has quit [Quit: (null)]
enebo has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
amsha has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby-lang
fusillicode has joined #ruby-lang
wingsquish has joined #ruby-lang
spastorino has joined #ruby-lang
cored has quit [Ping timeout: 258 seconds]
cornerma1 has joined #ruby-lang
cornerman has quit [Ping timeout: 265 seconds]
cornerma1 is now known as cornerman
yfeldblum has joined #ruby-lang
amsha has joined #ruby-lang
flori_ has quit [Ping timeout: 258 seconds]
tbuehlmann has quit [Remote host closed the connection]
flori has joined #ruby-lang
seank_ has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 244 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
gjaldon has joined #ruby-lang
benlovell has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 255 seconds]
cleopatra has joined #ruby-lang
GBrawl has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 256 seconds]
benlovell has quit [Ping timeout: 265 seconds]
cleopatra has quit [Read error: Connection reset by peer]
cleopatra has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
AKASkip has quit [Read error: Connection reset by peer]
flori has quit [Ping timeout: 245 seconds]
cleopatra has quit [Read error: Connection reset by peer]
pablocantero has joined #ruby-lang
ender|dkm has joined #ruby-lang
flori has joined #ruby-lang
AKASkip has joined #ruby-lang
cleopatra has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
ender|dkm has quit [Ping timeout: 255 seconds]
cleopatra has joined #ruby-lang
pablocantero has quit [Quit: Leaving...]
cleopatra has quit [Read error: Connection reset by peer]
michael_mbp has quit [Excess Flood]
cleopatra has joined #ruby-lang
michael_mbp has joined #ruby-lang
seank_ has joined #ruby-lang
havenn has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 246 seconds]
cleopatra has joined #ruby-lang
flori has quit [Remote host closed the connection]
flori has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
cleopatra has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
jmrepetti has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
jmrepetti has joined #ruby-lang
jeremydurham has joined #ruby-lang
jeremydurham has quit [Client Quit]
GBrawl has quit [Quit: (null)]
stamina has joined #ruby-lang
matp has quit [Ping timeout: 255 seconds]
marr has joined #ruby-lang
KM has joined #ruby-lang
KM is now known as Guest21849
yfeldblum has joined #ruby-lang
jeremydurham has joined #ruby-lang
symm- has joined #ruby-lang
yfeldblum has quit [Ping timeout: 272 seconds]
q_leonetti has quit [Quit: q_leonetti]
jeremydurham has quit [Quit: jeremydurham]
slawrence00 has joined #ruby-lang
chouhoulis has joined #ruby-lang
PHP4Ever has joined #ruby-lang
Dev-Gitter has joined #ruby-lang
FarlaTux has joined #ruby-lang
stamina has quit [Ping timeout: 250 seconds]
bryancp has joined #ruby-lang
Dev-Gitter has quit [Quit: Leaving [Bye Everybody]]
gianlucadv has joined #ruby-lang
PHP4Ever has quit [Quit: Leaving [Bye Everybody]]
<bryancp> Seeing an unexpected result with keyword args + method_missing. Can someone explain to me how this is the case? https://gist.github.com/bryanp/b729fb5e5674b5b5d374
David_H_Smith has quit [Ping timeout: 244 seconds]
sepp2k has quit [Quit: Leaving.]
sepp2k has joined #ruby-lang
<jhass> bryancp: no, that's defined behavior. if the last argument of a method is a hash and the method accepts keyword args, the hash gets passed as the keyword args
mfmfmfmfmfmf has joined #ruby-lang
<bryancp> jhass: Interesting; I wasn’t aware of that. So that explains my behavior then. For added context, I want to mix in a keyword arg in some cases before passing the call through. This behavior isn’t particularly helpful here :-)
FarlaTux has quit [Quit: Leaving [Bye Everybody]]
ender|dkm has joined #ruby-lang
kalehv has joined #ruby-lang
<jhass> looks like it's not in the official docs too, meh
<waxjar> i haven't seen keyword arguments used a lot
<jhass> well, you'd drop support for 1.9 and support for 2.0 if you want the required ones
ender|dkm has quit [Ping timeout: 255 seconds]
<bryancp> this is the first thing with keyword args that’s irritated me. in the method_missing case there seems to be no way to determine for sure what was actually passed as keyword args vs some hash value.
<waxjar> a Hash was elegant enough imo, especially with the key: "value" syntax :P
<bryancp> in my case I want to check if a keyword arg was set and if not, mixin a value. and it’s possible that the method could be called with a single hash arg and no keyword args
diegoviola has joined #ruby-lang
mikecmpbll has joined #ruby-lang
koderok has joined #ruby-lang
<jhass> because of that behavior the method shouldn't have that API in the first place
<bryancp> can you elaborate?
koderok has quit [Read error: Connection reset by peer]
sarkyniin has joined #ruby-lang
<jhass> def foo(a={}, b: nil); end; my_hash = {c: :d}; foo(my_hash, b: :d) # ok, foo(my_hash) # fails
<jhass> and with a being a required arg foo(some: data) would fail
<jhass> you'd have to add {}
<jhass> if that's even enough, I didn't try
<bryancp> in my case the first arg is required, so the method definition is: def foo(a, b: nil); end
<bryancp> which I believe solves the failure case you pointed out
shinnya has quit [Ping timeout: 245 seconds]
Guest21849 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<jhass> oh well, apparently it does
<jhass> but in foo(some: data, foo: :bar) it uses the keyword args default and adds the passed one to the hash. which is obvious behavior but IMO a bit confusing from the caller perspective
<bryancp> yeah, agree
mfmfmfmfmfmf has quit []
<jhass> I'd say make the data a required keyword arg
yfeldblum has joined #ruby-lang
<bryancp> still not going to help in my case :/
<bryancp> here’s a better illustration of exactly what I’m doing: https://gist.github.com/bryanp/049ec81eb8a4dd353f49
<bryancp> which is fixable by not accepting **kargs in method_missing
<bryancp> but then I can’t inspect the passed keyword args :p
kaczmar has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
<jhass> I meant soemthing like http://paste.mrzyx.de/pusx6uogx
snsei has joined #ruby-lang
havenn is now known as havenwood
<bryancp> ah, I see. yeah that’s not ideal.. just don’t like the way that method has to be called (this is admittedly picky)
chouhoulis has quit [Remote host closed the connection]
kaczmar has quit [Client Quit]
<jhass> I wonder what happens if you do def method_missing(method, data, **kwargs)
<jhass> seems to work
<bryancp> yeah that works, but that requires method_missing to know something about the signature of the method that is being proxied to
<bryancp> sort of defeats the purpose
<jhass> I thought you want to supply another default to its keyword args? so you do already
<bryancp> touche
<jhass> method_missing's most common usecases are to blindly delegate and maybe decorate, don't let your thinking get trapped in these though
koderok has joined #ruby-lang
<jhass> those usecases have the "I don't care about signature" properties. Doesn't mean all usecases have to
snsei has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
<bryancp> BUT, not all methods method_missing will delegate to accept data as the first arg or even accept any keyword args for that matter. essentially method_missing will check the parameters of the method being proxied to, check if it accepts a keyword arg, and insert a value for the keyword arg if one wasn’t passed to method_missing
gjaldon has quit [Client Quit]
<bryancp> this is a weird usage and sort of an experiment, but weird I can’t find a solution that’ll work given all the edges
<jhass> how many cases do need to do that? 1/50? 10/20?
<bryancp> 25% potentially need the keyword arg value inserted
<bryancp> fortunately those 25% of cases *do* have the same signature
<jhass> and how big is that set? how often does it change?
<bryancp> 4 methods that should never change
<jhass> then I'd do something like http://paste.mrzyx.de/pvkzbflqo
<bryancp> yeah :(
bruno- has quit [Ping timeout: 250 seconds]
<bryancp> jhass: thx for the chat btw
<jhass> you're welcome
chussenot has quit [Quit: chussenot]
snsei has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
ender|dkm has joined #ruby-lang
chussenot has joined #ruby-lang
Aria has left #ruby-lang ["Be back later ..."]
ender|dkm has quit [Ping timeout: 255 seconds]
GBrawl has joined #ruby-lang
nofxx has joined #ruby-lang
yfeldblum has joined #ruby-lang
cleopatra has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 240 seconds]
mistym has joined #ruby-lang
nertzy has joined #ruby-lang
enebo has quit [Quit: enebo]
koderok has quit [Ping timeout: 258 seconds]
kalehv has quit [Remote host closed the connection]
apt-get_ has joined #ruby-lang
sarkyniin has quit [Ping timeout: 244 seconds]
apt-get__ has joined #ruby-lang
snsei has quit [Remote host closed the connection]
apt-get_ has quit [Ping timeout: 264 seconds]
stamina has joined #ruby-lang
chouhoulis has joined #ruby-lang
koderok has joined #ruby-lang
Keltia__ has joined #ruby-lang
koderok has quit [Read error: Connection reset by peer]
chouhoulis has quit [Ping timeout: 245 seconds]
jo__ has joined #ruby-lang
snsei has joined #ruby-lang
jimbach has joined #ruby-lang
mfmfmfmfmfmf has joined #ruby-lang
snsei has quit [Ping timeout: 265 seconds]
arBmind has quit [Quit: Leaving.]
mfmfmfmfmfmf has quit [Ping timeout: 255 seconds]
enmand_ has joined #ruby-lang
ender|dkm has joined #ruby-lang
GBrawl has quit [Quit: (null)]
ender|dkm has quit [Ping timeout: 255 seconds]
snsei has joined #ruby-lang
yfeldblum has joined #ruby-lang
buglite has joined #ruby-lang
buglite has quit [Remote host closed the connection]
dangerousdave has joined #ruby-lang
bruno- has joined #ruby-lang
buglite has joined #ruby-lang
buglite has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 258 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
apt-get__ has quit [Quit: Quitte]
sarkyniin has joined #ruby-lang
stamina has quit [Remote host closed the connection]
|jemc| has joined #ruby-lang
kalehv has joined #ruby-lang
kalehv has quit [Ping timeout: 258 seconds]
j4cknewt has joined #ruby-lang
q_leonetti has joined #ruby-lang
Miphix has quit [Quit: Leaving]
arBmind has joined #ruby-lang
David_H_Smith has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
|jemc| has quit [Quit: WeeChat 1.0.1]
David_H_Smith has joined #ruby-lang
|jemc| has joined #ruby-lang
mfmfmfmfmfmf has joined #ruby-lang
nertzy has quit [Read error: Connection reset by peer]
oak has joined #ruby-lang
Miphix has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
snovity has joined #ruby-lang
enmand_ has quit [Ping timeout: 256 seconds]
enmand_ has joined #ruby-lang
ender|dkm has joined #ruby-lang
ender|dkm has quit [Ping timeout: 255 seconds]
bruno- has quit [Ping timeout: 264 seconds]
tejas-manohar has joined #ruby-lang
mattyohe has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
JohnBat26 has joined #ruby-lang
oak has quit [Ping timeout: 256 seconds]
oak has joined #ruby-lang
jeremydurham has joined #ruby-lang
cleopatra has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
cleopatra has joined #ruby-lang
jeremydurham has quit [Client Quit]
cleopatra has quit [Read error: Connection reset by peer]
cleopatra has joined #ruby-lang
cleopatra has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
cleopatra has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
kaczmar has joined #ruby-lang
Versality has joined #ruby-lang
Miphix has quit [Quit: Leaving]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MichD is now known as michd
oak has quit [Ping timeout: 260 seconds]
dagda1 has joined #ruby-lang
snsei has quit [Remote host closed the connection]
goodcodeguy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oleo__ is now known as oleo
ender|dkm has joined #ruby-lang
sarkyniin has quit [Ping timeout: 265 seconds]
sarkyniin has joined #ruby-lang
mikecmpbll has quit [Quit: i've nodded off.]
ender|dkm has quit [Ping timeout: 255 seconds]
francisfish has joined #ruby-lang
mikecmpbll has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
francisfish has quit [Remote host closed the connection]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
gix has quit [Ping timeout: 264 seconds]
fragamus has joined #ruby-lang
sarkyniin has quit [Ping timeout: 264 seconds]
banister has joined #ruby-lang
francisfish has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
j4cknewt has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
pnbeast has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
gix has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
bruno- has joined #ruby-lang
banister has joined #ruby-lang
francisfish has quit [Ping timeout: 260 seconds]
banister has quit [Max SendQ exceeded]
houhoulis 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 [Ping timeout: 256 seconds]
mfmfmfmfmfmf has quit []
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
bruno- has quit [Ping timeout: 265 seconds]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
dangerousdave has joined #ruby-lang
jmrepetti has quit [Remote host closed the connection]
symm-_ has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
M3M0CooL has quit []
GBrawl has joined #ruby-lang
yfeldblum has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimbach has quit [Remote host closed the connection]
q_leonetti has joined #ruby-lang
Voker57 has joined #ruby-lang
enmand_ has quit [Ping timeout: 264 seconds]
ender|dkm has joined #ruby-lang
enmand_ has joined #ruby-lang
dangerousdave has joined #ruby-lang
dinashraya has joined #ruby-lang
dinashraya has quit [Client Quit]
tejas-manohar has left #ruby-lang [#ruby-lang]
djbkd has joined #ruby-lang
nertzy has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
oak has joined #ruby-lang
arBmind has left #ruby-lang [#ruby-lang]
arBmind has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nertzy has quit [Quit: This computer has gone to sleep]
dangerousdave has joined #ruby-lang
symm-_ is now known as symm-
oak has quit [Ping timeout: 272 seconds]
fragamus has joined #ruby-lang
jimbach has joined #ruby-lang
oak has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dagda1 has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oak has quit [Ping timeout: 244 seconds]
GBrawl has quit [Quit: (null)]
dangerousdave has joined #ruby-lang
bin7me has quit [Quit: Leaving]
nertzy has joined #ruby-lang
kaczmar has quit [Quit: kaczmar]
houhoulis has quit [Remote host closed the connection]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nertzy has quit [Ping timeout: 264 seconds]
enmand_ has quit [Ping timeout: 256 seconds]
enmand_ has joined #ruby-lang
nertzy has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 258 seconds]
lsegal has joined #ruby-lang
dangerousdave has joined #ruby-lang
<diegoviola> rubinius 2.3 released
enmand_ has quit [Ping timeout: 272 seconds]
djbkd has quit [Remote host closed the connection]
enmand_ has joined #ruby-lang
djbkd has joined #ruby-lang
djbkd has quit [Read error: No route to host]
jimbach has quit [Remote host closed the connection]
nertzy has quit [Quit: This computer has gone to sleep]
<pipework> diegoviola: meh
<diegoviola> pipework: why
<pipework> diegoviola: JRuby is mo bettah.
<diegoviola> pipework: JVM is annoying tho
<pipework> diegoviola: not at all
djbkd has joined #ruby-lang
<diegoviola> pipework: ok
<pipework> If rubunius excites you, I guess whatever gets you off...
<diegoviola> what do you mean
<pipework> diegoviola Exactly what I said.
havenwood has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
mistym has quit [Remote host closed the connection]
gianlucadv has quit [Ping timeout: 245 seconds]
malconis has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
djbkd has quit [Quit: My people need me...]
djbkd has joined #ruby-lang
q_leonetti has joined #ruby-lang
q_leonetti has quit [Client Quit]
RobertBirnie has joined #ruby-lang
chussenot has quit [Ping timeout: 265 seconds]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
dagda1 has joined #ruby-lang
fusillicode has quit [Quit: Leaving.]
fusillicode has joined #ruby-lang
enmand_ has quit [Quit: Textual IRC Client: www.textualapp.com]
kaczmar has joined #ruby-lang
fusillicode has quit [Ping timeout: 245 seconds]
Versality has quit [Quit: Be back later ...]
Versality has joined #ruby-lang
spastorino has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sarkyniin has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby-lang
AKASkip has quit [Ping timeout: 265 seconds]
j4cknewt has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j4cknewt has quit [Ping timeout: 255 seconds]
sarkyniin has quit [Read error: Connection reset by peer]
sarkyniin has joined #ruby-lang
rikkipitt has joined #ruby-lang
jeremydurham has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby-lang
djbkd has quit [Read error: Connection reset by peer]
jarto has joined #ruby-lang
bruno- has joined #ruby-lang
|jemc| has quit [Ping timeout: 258 seconds]
kaczmar has quit [Quit: kaczmar]
michaeldeol has joined #ruby-lang
oak has joined #ruby-lang
kalehv has joined #ruby-lang
<soahccc> pipework: : not that I would need PI but wtf? https://gist.github.com/2called-chaos/994e88f212ac923b66d7
oak has quit [Ping timeout: 244 seconds]
jimbach has joined #ruby-lang
snsei has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
snsei has quit [Ping timeout: 245 seconds]
<yorickpeterse> soahccc: yeah you might want to write an actually decent benchmark
<yorickpeterse> that one is worse than a rotten sock
bruno- has quit [Ping timeout: 256 seconds]