milardovich has quit [Remote host closed the connection]
bmurt has joined #ruby
char_var[buffer] has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faces has quit [Ping timeout: 268 seconds]
jnollette has quit [Ping timeout: 255 seconds]
jnollette has joined #ruby
nckpz has quit [Ping timeout: 255 seconds]
orbyt_ has joined #ruby
Guest32242 has joined #ruby
matchaw has quit [Quit: Leaving]
morenoh149 has joined #ruby
hairui has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
morenoh149 has quit [Ping timeout: 264 seconds]
hairui has quit [Ping timeout: 248 seconds]
apparition has quit [Quit: Bye]
ta_ has joined #ruby
bigblind has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
BowBoy has quit [Quit: Leaving]
morenoh149 has joined #ruby
<rubycoder38>
when I have a class, let's say CurrencyConversion and I create an initialize method and return something from initialize, why do I get the #<CurrencyConversion:0x000056285dbda638>
<rubycoder38>
why do I get #<CurrencyConversion:0x000056285dbda638>
<rubycoder38>
rather than the value I returned?
bronson has quit [Ping timeout: 248 seconds]
jnollette has quit [Ping timeout: 255 seconds]
agent_white has quit [Quit: brb]
hairui has joined #ruby
morenoh149 has quit [Ping timeout: 240 seconds]
govg has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
jnollette has joined #ruby
hairui has quit [Ping timeout: 256 seconds]
ledestin has joined #ruby
<mattwc>
rubycoder38: an initialize method should return an instance of the model you created
<rubycoder38>
right, so if I want to return a value to a method, I use a regular method instead?
<rubycoder38>
like Currency#convert or whatever
<mattwc>
yeah either an instance or class method
<rubycoder38>
right, thanks
<rubycoder38>
I was going to ask something related to that
arescorpio has quit [Quit: Leaving.]
<rubycoder38>
when is it best to use an instance or class method?
<rubycoder38>
zenspider said something about that that made me a bit confused
drewmcmillan has joined #ruby
<rubycoder38>
21:19 < zenspider> rubycoder38: I'd start by removing all class methods. There are very few legit singletons in the world
<mattwc>
so an instance method is something where the method depends on information about a specific instance of the object
<mattwc>
so if you had a Car class, `color` would most likely be an instance method since its the color of a specific car
<rubycoder38>
right
<rubycoder38>
makes sense, thanks
agent_white has joined #ruby
jaequery has joined #ruby
m27frogy has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
elcontrastador has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rubycoder38>
mattwc: I tried to do that but it didn't work, I don't think I can do target_currency = currency, currency is the default currency (USD), target_currency can be BRL, etc, I have to be able to increase the amount to the user after converting with the target_currency and subtract my currency in USD
<rubycoder38>
I'm a bit confused at this point, tbh
darkhanb_ has joined #ruby
<rubycoder38>
that's why I added the if/else check
<mattwc>
rubycoder38: only do that if target_currency is nil
darkhanb has quit [Ping timeout: 240 seconds]
hairui has joined #ruby
nowhereman_ has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mattwc>
so you couldn't transfer from BRL to USD then?
<mattwc>
(or at least not do so with proper currency conversion)
<mattwc>
looks like even USD to USD transfers might end up weird too
jeffreylevesque has quit [Ping timeout: 260 seconds]
<rubycoder38>
it was ok before, now I can't do USD to USD
<rubycoder38>
USD to BRL is working
<mattwc>
yeah USD to BRL will work, basically your currency convert method needs to know the source and destination currency
<mattwc>
the when "USD" case doesn't really make sense since price will always end up as $1
guns has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drewmcmillan has joined #ruby
<rubycoder38>
oh, right
<rubycoder38>
so like if Currency#convert target_currency=nil and source_currency then price = price, don't do anything in that case?
jaequery has joined #ruby
<mattwc>
If I was designing the function, I'd force Currency#convert to take source and destination currency and not allow either to be nil
jaequery has quit [Client Quit]
<rubycoder38>
I'm not sure why I created recipient_currencies, I think it was to see if it contained the sender_currency
<rubycoder38>
but it can be deleted now
<rubycoder38>
it was for the if/else it had before
hairui has joined #ruby
<rubycoder38>
mattwc: sounds like a good idea, I'll try that
<rubycoder38>
I don't know why I always end up overcomplicating things... sigh
ta_ has quit [Ping timeout: 240 seconds]
<rubycoder38>
I might need a lobotomy
* vutral|kali
ectomizes rubycoder38
<rubycoder38>
:P
ta_ has joined #ruby
hairui has quit [Ping timeout: 248 seconds]
bigblind has joined #ruby
<rubycoder38>
something I miss from python is adb, I like going back and forth with n/next in the repl
<rubycoder38>
I never thought I'd say that
<mattwc>
have you taken a look at pry and pry-nav?
<rubycoder38>
s/adb/pdb/
<rubycoder38>
I'll have a look at pry-nav, I've used pry before
<rubycoder38>
ty
<mattwc>
it adds next / continue / step to pry
<rubycoder38>
nice
<mattwc>
and then some unit tests on things like Currency#convert would probably be useful
hairui has joined #ruby
<rubycoder38>
yes, I'll add that
<rubycoder38>
when I started the project I was told I should write only plain ruby code but it turned out to be a pain without a way to have data persistency, so I used sequel
<rubycoder38>
I might have to write a rake task to import the CSV also
<rubycoder38>
sequel is nice
guns has quit [Quit: guns]
hairui has quit [Ping timeout: 248 seconds]
jaequery has joined #ruby
hairui has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
bow__ has joined #ruby
bow__ has quit [Quit: Leaving]
comet23 has joined #ruby
comet23 has left #ruby [#ruby]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aguestuser has quit [Remote host closed the connection]
aguestuser has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
dviola has quit [Quit: WeeChat 2.0.1]
KeyJoo has quit [Remote host closed the connection]
IceBurg has joined #ruby
IceBurg has left #ruby [#ruby]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ShekharReddy has joined #ruby
gary has joined #ruby
LocaMocha has joined #ruby
gary is now known as Guest34861
bronson has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
apparition has joined #ruby
troys has quit [Quit: Bye]
ta_ has quit [Ping timeout: 240 seconds]
baweaver_away is now known as baweaver
ta_ has joined #ruby
mtkd has joined #ruby
apparition has quit [Quit: Bye]
sanscoeur has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
AX31_A13X has joined #ruby
bronson has joined #ruby
AxelAlex has quit [Ping timeout: 256 seconds]
elcontrastador has quit [Ping timeout: 248 seconds]
bronson has quit [Ping timeout: 240 seconds]
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Mia has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 260 seconds]
kapil___ has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
bigblind has quit [Ping timeout: 248 seconds]
Axy has quit [Ping timeout: 240 seconds]
biberu has joined #ruby
apparition has joined #ruby
biberu has quit [Client Quit]
biberu has joined #ruby
armyriad has joined #ruby
jnollette has quit [Ping timeout: 255 seconds]
_whitelogger has joined #ruby
_whitelogger has joined #ruby
workmad3 has joined #ruby
devil_tux has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
nowhere_man has joined #ruby
alex`` has joined #ruby
nowhereman_ has quit [Ping timeout: 256 seconds]
za1b1tsu has joined #ruby
bronson has joined #ruby
elcontrastador has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
vondruch has joined #ruby
reber has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]
Guest34861 has quit [Ping timeout: 256 seconds]
marr has joined #ruby
dionysus69 has joined #ruby
desperek has joined #ruby
conta has joined #ruby
gary has joined #ruby
gary is now known as Guest20060
Guest20060 has quit [Ping timeout: 265 seconds]
lunarkitty7 has quit [Ping timeout: 260 seconds]
gary_ has joined #ruby
gary_ is now known as Guest38794
clemens3 has joined #ruby
bigblind has joined #ruby
bigblind has quit [Read error: Connection reset by peer]
Guest38794 has quit [Ping timeout: 256 seconds]
nadir has quit [Quit: Connection closed for inactivity]
alex`` has quit [Quit: WeeChat 2.0.1]
bigblind has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
bigblind has quit [Quit: Ping timeout (120 seconds)]
bigblind has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
bigblind has quit [Quit: Ping timeout (120 seconds)]
bigblind has joined #ruby
za1b1tsu has quit [Remote host closed the connection]
Dbugger has joined #ruby
bigblind has quit [Client Quit]
bigblind has joined #ruby
bigblind has quit [Read error: Connection reset by peer]
despai has joined #ruby
gary has joined #ruby
gary is now known as Guest16877
bronson has joined #ruby
amatas has joined #ruby
Guest16877 has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 248 seconds]
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
snickers has joined #ruby
ianfleeton has joined #ruby
despai has quit [Quit: ...]
workmad3 has joined #ruby
despai has joined #ruby
despai has quit [Client Quit]
za1b1tsu has joined #ruby
ianfleeton has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 255 seconds]
ianfleeton has joined #ruby
ianfleeton has quit [Client Quit]
elementaru has joined #ruby
jnyw has quit [Quit: WeeChat 2.0.1]
gary_ has joined #ruby
gary_ is now known as Guest12257
sameerynho has joined #ruby
Guest12257 has quit [Ping timeout: 264 seconds]
conta has quit [Remote host closed the connection]
banisterfiend has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Dbugger has quit [Quit: Leaving]
jeffreylevesque has joined #ruby
conta has joined #ruby
alex`` has joined #ruby
alex`` is now known as alexherbo2
alexherbo2 is now known as alex``
jeffreylevesque has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
thinkpad has quit [Quit: lawl]
kapil___ has quit [Quit: Connection closed for inactivity]
thinkpad has joined #ruby
thinkpad has quit [Client Quit]
gary has joined #ruby
gary is now known as Guest51299
flak has joined #ruby
alex`` has quit [Ping timeout: 240 seconds]
rippa has quit [Read error: Connection reset by peer]
snickers has quit [Read error: Connection reset by peer]
xMopx has quit [Excess Flood]
xMopx has joined #ruby
Guest51299 has quit [Ping timeout: 240 seconds]
RougeR has quit [Ping timeout: 248 seconds]
thinkpad has joined #ruby
macobo has joined #ruby
sameerynho has quit [Ping timeout: 276 seconds]
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 240 seconds]
macobo has quit [Client Quit]
macobo has joined #ruby
macobo has quit [Client Quit]
Mia has quit [Read error: No route to host]
mtkd has joined #ruby
Xiti` has joined #ruby
gary_ has joined #ruby
gary_ is now known as Guest86097
jidar_ has joined #ruby
FifthWall_ has joined #ruby
jidar has quit [Read error: Connection reset by peer]
nicoulaj has quit [Quit: Ping timeout (120 seconds)]
phage has quit [Ping timeout: 256 seconds]
LBRapid has quit [Ping timeout: 256 seconds]
dminuoso has quit [Ping timeout: 256 seconds]
FifthWall has quit [Ping timeout: 256 seconds]
vqrs has quit [Ping timeout: 256 seconds]
linetrace has quit [Read error: Connection reset by peer]
raatiniemi has quit [Quit: No Ping reply in 180 seconds.]
NightMonkey has quit [Ping timeout: 256 seconds]
mrBen2k2k2k_ has quit [Remote host closed the connection]
mrBen2k2k2k has quit [Remote host closed the connection]
FifthWall_ is now known as FifthWall
jidar_ is now known as jidar
vqrs has joined #ruby
raatiniemi has joined #ruby
dminuoso has joined #ruby
LBRapid has joined #ruby
phage has joined #ruby
phage has joined #ruby
phage has quit [Changing host]
NightMonkey has joined #ruby
LBRapid is now known as Guest89206
nicoulaj has joined #ruby
Guest86097 has quit [Ping timeout: 240 seconds]
Gabemo has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 256 seconds]
`derpy has quit [Ping timeout: 256 seconds]
helpa has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 240 seconds]
linetrace has joined #ruby
marahin has quit [Ping timeout: 260 seconds]
ramfjord has joined #ruby
marahin has joined #ruby
baweaver has joined #ruby
marahin is now known as Guest62818
SirFunk has quit [Ping timeout: 256 seconds]
baweaver is now known as Guest75431
Gabemo has joined #ruby
Dimik has quit [Ping timeout: 248 seconds]
ramfjord has quit [Ping timeout: 276 seconds]
SirFunk has joined #ruby
dinfuehr has quit [Ping timeout: 256 seconds]
conta has quit [Remote host closed the connection]
gary has joined #ruby
`derpy has joined #ruby
gary is now known as Guest48586
dinfuehr has joined #ruby
izaac has joined #ruby
PaulePan1er has joined #ruby
DEac-_ has joined #ruby
lagweezl1_away has joined #ruby
drewmcmillan has joined #ruby
cout_ has joined #ruby
mkroman_ has joined #ruby
drewmcmillan has quit [Client Quit]
Guest48586 has quit [Ping timeout: 255 seconds]
sriehl_ has joined #ruby
apparition has joined #ruby
Cu5tosLim3n has joined #ruby
Junaos_ has joined #ruby
canton7_ has joined #ruby
soahccc_ has joined #ruby
Derperpe- has joined #ruby
vutral|kali has quit [*.net *.split]
lagweezle_away has quit [*.net *.split]
Junaos has quit [*.net *.split]
cout has quit [*.net *.split]
canton7 has quit [*.net *.split]
soahccc has quit [*.net *.split]
varesa| has quit [*.net *.split]
izaac_ has quit [*.net *.split]
mkroman has quit [*.net *.split]
Cu5tosLimen has quit [*.net *.split]
DEac- has quit [*.net *.split]
Derperperd has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
nettie has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
redondos has quit [*.net *.split]
sriehl has quit [*.net *.split]
canton7_ is now known as canton7
mkroman_ is now known as mkroman
varesa_ has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
funnel has quit [Ping timeout: 240 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
mendel has quit [Quit: Connection closed for inactivity]
dinfuehr has joined #ruby
dviola has joined #ruby
funnel has joined #ruby
za1b1tsu has quit [Quit: Leaving]
coffeejunk has joined #ruby
drewmcmillan has joined #ruby
hfp_work has quit [Ping timeout: 265 seconds]
workmad3 has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
workmad3 has quit [Ping timeout: 265 seconds]
gary_ has joined #ruby
gary_ is now known as Guest86654
Guest86654 has quit [Ping timeout: 276 seconds]
shinnya has quit [Ping timeout: 248 seconds]
konsolebox has quit [Ping timeout: 265 seconds]
al2o3-cr has joined #ruby
konsolebox has joined #ruby
ramfjord has joined #ruby
vutral|kali has quit [Read error: Connection reset by peer]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
ramfjord has quit [Ping timeout: 240 seconds]
soahccc_ is now known as soahccc
Guest32242 has quit [Read error: Connection reset by peer]
leitz has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
<leitz>
Is anyone else compiling Ruby dev from source?
<gizmore>
all those who use rbenv and alike maybe? not sure but i remember rvbenv took a while to compile and install ruby for me
<gizmore>
and i compile it with gentoo from time to time :)
<leitz>
I'm hitting an autoconf version issue running CentOS 6.
apeiros has joined #ruby
<leitz>
The source from 8 Feb (US) worked, today's doesn't.
<gizmore>
so autoconf is outdated now?
bigblind has joined #ruby
jeffreylevesque has joined #ruby
cadillac_ has joined #ruby
gary has joined #ruby
gary is now known as Guest81374
konsolebox has joined #ruby
<Yxhuvud>
centos 6? isn't that pretty damned old?
Guest81374 has quit [Ping timeout: 248 seconds]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
<leitz>
Yxhuvud, yes, but not EOL. And a lot better that anything with systemd.
ineb has joined #ruby
howdoi has joined #ruby
despai has joined #ruby
redondos has joined #ruby
jnollette has quit [Ping timeout: 255 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
<leitz>
Ah. so there's a funny. I had installed a new version of Autoconf a while back. Last week I cleaned it out since I wasn't using it. Or so I thought...
<leitz>
Hrmph.
cliq has joined #ruby
raynold has joined #ruby
jnollette has joined #ruby
RougeR has joined #ruby
RougeR has joined #ruby
RougeR has quit [Changing host]
<leitz>
Of course, the version of autoconf it wants is about 7 years old.
gary_ has joined #ruby
gary_ is now known as Guest41829
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goatish has joined #ruby
mengu has joined #ruby
pheeo has joined #ruby
<mengu>
hi
<mengu>
is anyone using parslet?
Guest41829 has quit [Ping timeout: 265 seconds]
goatish has quit [Quit: bye]
nettie has joined #ruby
shinnya has joined #ruby
cadillac_ has quit [Ping timeout: 240 seconds]
cadillac_ has joined #ruby
al2o3-cr has joined #ruby
chouhoulis has joined #ruby
despai has quit [Ping timeout: 240 seconds]
mitt3ns has joined #ruby
mrBen2k2k2k__ has joined #ruby
agent_white has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
gary has joined #ruby
gary is now known as Guest80207
dviola has quit [Read error: Connection reset by peer]
dviola has joined #ruby
Guest80207 has quit [Ping timeout: 260 seconds]
dviola has quit [Changing host]
dviola has joined #ruby
drewmcmillan has joined #ruby
nowhere_man has quit [Quit: Konversation terminated!]
<elomatreb>
rubycoder38: I'd move the assignment outside of the if, but otherwise I don't think there's a (simple) way to improve that without obscuring the behavior needlessly
mitt3ns has quit [Quit: bai]
<hanmac>
hm i don't think that the ones TO USD is correct
<gizmore>
one should only have one table of CUR2EUR or CUR2USD.... and then you have todo 2 convert calls easily?
andydna has joined #ruby
gary__ has joined #ruby
<andydna>
why can't i interrupt this: ruby -e "[1,2,3].cycle.count"
<rubycoder38>
elomatreb: assignment outside of the if? how else can I assign the new value when converting to the price?
<rubycoder38>
I'm not sure what you mean
<elomatreb>
If blocks are expressions, you can do `price = if ... else ...`
<andydna>
ruby -e "[1,2,3].cycle.count" just hangs and eats CPU, ought to be able to ctrl-C or ctrl-D it to death
DLSteve has joined #ruby
<elomatreb>
andydna: You can kill -9 it if Ctrl+C doesn't work
gary__ has quit [Ping timeout: 240 seconds]
alex`` has joined #ruby
jnollette has quit [Ping timeout: 255 seconds]
<andydna>
yeah, that works. but why? why doesn't count trap/handle an INT?
devil_tux has quit [Ping timeout: 248 seconds]
jnollette has joined #ruby
govg has quit [Ping timeout: 256 seconds]
<gizmore>
andydna: somehwhere a catchall?
<elomatreb>
Probably something very internal to the VM, don't know, sorry.
alex`` has quit [Ping timeout: 252 seconds]
<andydna>
no need to apologize. thanks for responding
roshanavand has quit [Ping timeout: 265 seconds]
vutral|kali has quit [Ping timeout: 268 seconds]
bigblind has quit [Ping timeout: 268 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
elcontrastador has quit [Ping timeout: 240 seconds]
sameerynho has joined #ruby
marr has quit [Ping timeout: 248 seconds]
gary has joined #ruby
gary is now known as Guest87046
cliq has quit [Ping timeout: 260 seconds]
Guest87046 has quit [Ping timeout: 256 seconds]
PaulePan1er is now known as PaulePanter
gary_ has joined #ruby
gary_ is now known as Guest62697
apparition has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
RougeR has quit [Ping timeout: 240 seconds]
Guest62697 has quit [Ping timeout: 260 seconds]
mtkd has quit []
nadir has joined #ruby
konsolebox has quit [Ping timeout: 265 seconds]
apparition has joined #ruby
konsolebox has joined #ruby
AX31_A13X has quit [Remote host closed the connection]
AX31_A13X has joined #ruby
alex`` has joined #ruby
mtkd has joined #ruby
snath has quit [Ping timeout: 248 seconds]
al2o3-cr has quit [Quit: WeeChat 2.0.1]
mengu has quit [Remote host closed the connection]
remix2000 has joined #ruby
gr33n7007h has joined #ruby
za1b1tsu has quit [Quit: Leaving]
mtkd has quit []
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
andydna has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gary is now known as Guest88528
tomlukeywood has joined #ruby
bmurt has joined #ruby
Guest88528 has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
roshanavand has joined #ruby
X-Jester has joined #ruby
<X-Jester>
is it considered bad practice to use something like modules/include mixins to neatly organize your class/instance methods? for example, to keep the base class definition simpler, is it bad practice to put those methods in other files as modules and include them in your class definition?
gary_ has joined #ruby
tomlukeywood has quit [Remote host closed the connection]
gary_ is now known as Guest76349
chickenoncow has joined #ruby
Guest76349 has quit [Ping timeout: 240 seconds]
mtkd has quit []
bigblind has joined #ruby
drewmcmillan has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hanmac>
i am there i am just silent, i am mostly reading bugs.ruby-lang.org and laugh at rejected requests
<hanmac>
like one of my favs: "Create new method String#symbol? and deprecate Symbol class" ;P
<rubycoder38>
hanmac: do you have any better idea of how I can write this code?
<rubycoder38>
I'm not sure what I'm doing wrong
<rubycoder38>
I'll have to take a closer look
bow__ has quit [Remote host closed the connection]
<hanmac>
@rubycoder38: the case when looks okay for the given amount of data, just " price = (amount / price)" where "price = amount" always returns 1.0 because of "price = amount / amount"
jamesaxl has joined #ruby
jordanm has joined #ruby
<rubycoder38>
oh
<rubycoder38>
I'd like to replace this code entirely because it's not flexible
chouhoulis has quit [Remote host closed the connection]
<apeiros>
rubycoder38: are you rubycoder37's sibling?
<rubycoder38>
apeiros: no, I turned 38 on January 24th
<rubycoder38>
I need to figure out a way to change my nick permanently
<apeiros>
could call yourself rubycoder1980
huyderman has quit [Read error: Connection reset by peer]
mtkd has quit []
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rubycoder38>
that makes me feel older for some reason
<rubycoder38>
but yes, it's a good idea
mtkd has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
gary has joined #ruby
za1b1tsu has joined #ruby
gary is now known as Guest73421
houhoulis has joined #ruby
nowhere_man has joined #ruby
Guest73421 has quit [Ping timeout: 240 seconds]
nowhereman_ has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
<rubycoder38>
I don't like being older, this means you can't drink all the coffee you want without worrying about having a stroke
<gr33n7007h>
drink beer instead
<gr33n7007h>
it thins your blood
<rubycoder38>
I didn't know beer did that
<rubycoder38>
interesting
Ltem has joined #ruby
raynold has quit [Quit: Connection closed for inactivity]