cnivolle has quit [Remote host closed the connection]
emptyflask has quit [Remote host closed the connection]
symm- has quit [Read error: Connection reset by peer]
symm- has joined #ruby-lang
jeffs_ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
MikaAK2 has joined #ruby-lang
MikaAK2 has quit [Client Quit]
jeffs_ has quit [Ping timeout: 264 seconds]
x0f has quit [Ping timeout: 252 seconds]
x0f has joined #ruby-lang
vintik has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
<epitron>
cantonic: why @@grade and @grade?
<cantonic>
epitron: @grade for accessing it in other methods and @@grade for accessing it outside of a method. but I solved it different now :) thank you
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
sk_0 has quit [Ping timeout: 255 seconds]
<epitron>
catepillar: mmkay!
<epitron>
you can actually access @@ variables from regular methods too
sk_0 has joined #ruby-lang
<epitron>
the "initialize" method is a regular method :)
<zenspider>
nuh uh. it's magical. it gets called when you call new.
<zenspider>
but its name is initialize. MAGIC
diegoviola has quit [Ping timeout: 252 seconds]
alexju has quit [Remote host closed the connection]
<epitron>
sure, maybe in the sense you mean, but in the sense *I* mean, it's just a method!
jeffs_ has joined #ruby-lang
Sonja has quit [Ping timeout: 245 seconds]
* zenspider
mumbles magic method
aero224 has quit [Remote host closed the connection]
<diegoviola>
however, i'm trying to iterate over dados_gar now and add some of that data to the 'dados' hash
<diegoviola>
any ideas how i go into doing this?
<diegoviola>
:(
vintik has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
btcftw21_ has joined #ruby-lang
<diegoviola>
dados_gar is CSV with | so i need to split it too
btcftw21 has quit [Ping timeout: 264 seconds]
aero224 has quit [Remote host closed the connection]
btcftw21_ has quit [Remote host closed the connection]
btcftw21 has joined #ruby-lang
|jemc| has quit [Ping timeout: 264 seconds]
btcftw21_ has joined #ruby-lang
ur5us has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
btcftw21_ has quit [Read error: Connection reset by peer]
btcftw2__ has joined #ruby-lang
btcftw21 has quit [Ping timeout: 264 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
btcftw2__ has quit [Remote host closed the connection]
<cantonic>
I have some classes for making grade calculations. There are several classes like FinalGrade, CourseGrade, AssignmentGrade and so on. All of them have a #value method which returns a float. Is it better to use a BigDecimal object?
mndoci has quit [Remote host closed the connection]
_ht has joined #ruby-lang
mndoci has joined #ruby-lang
arBmind has joined #ruby-lang
dm78 has joined #ruby-lang
sdouglas has joined #ruby-lang
mndoci has quit [Remote host closed the connection]
dm78 has quit [Ping timeout: 252 seconds]
mndoci has joined #ruby-lang
vintik has joined #ruby-lang
mndoci has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
vintik has quit [Remote host closed the connection]
t4nk172 has joined #ruby-lang
t4nk172 has quit [Client Quit]
vintik has joined #ruby-lang
heftig has quit [Quit: Quitting]
sdouglas has quit [Remote host closed the connection]
[spoiler] has joined #ruby-lang
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
sdouglas_ has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
apeiros has joined #ruby-lang
lewix has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
imajes has quit [Ping timeout: 240 seconds]
sdouglas_ has quit [Remote host closed the connection]
dsaint-pierre has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 255 seconds]
tbuehlmann has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
rue has joined #ruby-lang
rahul_j_ has joined #ruby-lang
majjoha has quit [Ping timeout: 240 seconds]
rahul_j has quit [Ping timeout: 260 seconds]
rahul_j_ is now known as rahul_j
skade has joined #ruby-lang
aero224 has joined #ruby-lang
charliesome has joined #ruby-lang
harshp__ has joined #ruby-lang
sepp2k has joined #ruby-lang
x0f has quit [Ping timeout: 264 seconds]
harshp_ has quit [Ping timeout: 252 seconds]
syst3m-m3ltd0wn has quit [Ping timeout: 248 seconds]
MikaAK1 has quit [Quit: node-irc says goodbye]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x0f has joined #ruby-lang
aero224 has quit [Remote host closed the connection]
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros has joined #ruby-lang
dm78 has joined #ruby-lang
AKASkip has joined #ruby-lang
knu has joined #ruby-lang
dm78 has quit [Ping timeout: 240 seconds]
alexju has quit [Remote host closed the connection]
rahul_j has quit [Ping timeout: 260 seconds]
rahul_j has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
majjoha has joined #ruby-lang
vondruch has joined #ruby-lang
AKASkip has quit [Ping timeout: 255 seconds]
mistym_ has quit [Remote host closed the connection]
knu has quit [Ping timeout: 252 seconds]
rahul_j has quit [Ping timeout: 260 seconds]
nofxx has quit [Ping timeout: 240 seconds]
rahul_j has joined #ruby-lang
relix has joined #ruby-lang
vondruch has quit [Ping timeout: 264 seconds]
houhoulis has quit [Remote host closed the connection]
vondruch has joined #ruby-lang
vondruch has quit [Client Quit]
vondruch has joined #ruby-lang
rahul_j has quit [Ping timeout: 245 seconds]
chris123456789 has joined #ruby-lang
rahul_j has joined #ruby-lang
cnivolle has joined #ruby-lang
vintik has quit [Remote host closed the connection]
greenarrow has joined #ruby-lang
kyb3r_ has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
rahul_j_ has joined #ruby-lang
rahul_j has quit [Ping timeout: 245 seconds]
rahul_j_ is now known as rahul_j
skade has quit [Quit: Computer has gone to sleep.]
AKASkip has joined #ruby-lang
dm78 has joined #ruby-lang
dm78 has quit [Ping timeout: 264 seconds]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
rahul_j has quit [Ping timeout: 255 seconds]
rahul_j has joined #ruby-lang
cantonic has quit [Client Quit]
cantonic has joined #ruby-lang
btcftw21 has joined #ruby-lang
cnivolle has joined #ruby-lang
btcftw21 has quit [Remote host closed the connection]
btcftw21 has joined #ruby-lang
btcftw21 has quit [Read error: Connection reset by peer]
btcftw21_ has joined #ruby-lang
kwd has joined #ruby-lang
mikecmpbll has joined #ruby-lang
vintik has joined #ruby-lang
elia has joined #ruby-lang
<yorickpeterse>
morning
jonathanmarvens has joined #ruby-lang
mehlah has joined #ruby-lang
mehlah has quit [Client Quit]
rahul_j has quit [Quit: rahul_j]
jxie has quit [Ping timeout: 264 seconds]
michd is now known as MichD
jxie has joined #ruby-lang
hackeron has joined #ruby-lang
rahul_j has joined #ruby-lang
olivier_bK has joined #ruby-lang
dm78 has joined #ruby-lang
greenarrow has quit [Quit: 500]
Lumio has joined #ruby-lang
workmad3 has joined #ruby-lang
chris123456789 has quit [Read error: Connection reset by peer]
dm78 has quit [Ping timeout: 264 seconds]
greenarrow has joined #ruby-lang
pipework has joined #ruby-lang
knu has joined #ruby-lang
arBmind has joined #ruby-lang
andrewvos has joined #ruby-lang
<andrewvos>
What gem can format a date like Instagram? (2d, 6h, 48w etc)?
<yorickpeterse>
ActiveSupport can do that I think :P
<andrewvos>
I am not surprised
<andrewvos>
How though?
<yorickpeterse>
time_ago_in_words or something like that was the method
<andrewvos>
no but look at my examples
<pipework>
distance_of_time_in_words
<andrewvos>
2d || 6h || 48w
<andrewvos>
wait that example is dumb as shit
<yorickpeterse>
andrewvos: oh right, I thought those were separate examples
<andrewvos>
maybe 48w should be 7months or something
elia has quit [Read error: Connection reset by peer]
elia has joined #ruby-lang
|jemc| has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
_ht has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
mistym has quit [Remote host closed the connection]
vintik has quit [Remote host closed the connection]
cnivolle has joined #ruby-lang
djbkd has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
vintik has joined #ruby-lang
vintik has quit [Remote host closed the connection]
faces has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
face has quit [Ping timeout: 255 seconds]
elia has quit [Quit: Computer has gone to sleep.]
arBmind has quit [Quit: Leaving.]
djbkd has quit [Remote host closed the connection]
symm- has joined #ruby-lang
jsullivandigs has joined #ruby-lang
sdouglas has joined #ruby-lang
ppinto has quit [Quit: ppinto]
elia has joined #ruby-lang
Fushi has quit [Changing host]
Fushi has joined #ruby-lang
ggherdov has joined #ruby-lang
ggherdov has quit [Changing host]
mjc_ has quit [Changing host]
mjc_ has joined #ruby-lang
bcardarella has quit [Changing host]
bcardarella has joined #ruby-lang
elia has quit [Client Quit]
sdouglas has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby-lang
arBmind has joined #ruby-lang
momomomomo has joined #ruby-lang
NemesisD has joined #ruby-lang
<NemesisD>
something apparently set my $-W environment variable to 569BJNRTXZghilmW. I have no idea what. How do you even export a variable with a name that has a leading dash?
jaimef has quit [Excess Flood]
<NemesisD>
its causing ruby to dump warning output all the time
ldnunes has quit [Quit: Leaving]
jaimef has joined #ruby-lang
pixelhandler has quit [Quit: pixelhandler]
<apeiros>
NemesisD: last time something has set an env var and I wanted to find out, I asked in #bash. they showed me a way (I forgot, else I'd tell you)
<apeiros>
I think it had to do with set -x, but iirc there was more
<NemesisD>
apeiros: what set that variable btw? I'd prefer it to just not be set...
<apeiros>
from the man pages, it might have been -a ("-a Mark variables which are modified or created for export. -o allexport")
sunaku has joined #ruby-lang
ecnalyr has joined #ruby-lang
<apeiros>
NemesisD: eh, that's my point - you should figure out what set it
heftig has joined #ruby-lang
<apeiros>
how could I possibly know what on your machine set it?
<NemesisD>
i'm not having a great time grepping my home dir for '-W' let me tell you
<apeiros>
NemesisD: maybe you should take a second and actually *read* what I wrote. but well.
momomomomo has quit [Quit: momomomomo]
cmhobbs has quit [Quit: leaving]
<NemesisD>
i read what you said
<NemesisD>
oddly enough that env var does not reveal itself
elia has joined #ruby-lang
cnivolle_ has joined #ruby-lang
sylphiae has joined #ruby-lang
funnel_ has joined #ruby-lang
elia has quit [Ping timeout: 264 seconds]
mconnolly has quit [Quit: mconnolly]
cnivolle has quit [*.net *.split]
GarethAdams has quit [*.net *.split]
jinie has quit [*.net *.split]
lele has quit [*.net *.split]
ToaNii has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
canton7 has quit [*.net *.split]
olivier_bK has quit [*.net *.split]
lele|2 has quit [*.net *.split]
funnel has quit [*.net *.split]
joshsz has quit [*.net *.split]
Rylee has quit [*.net *.split]
lele` has joined #ruby-lang
funnel_ is now known as funnel
jdipierro has quit [Quit: Leaving]
elia has joined #ruby-lang
elia has quit [Client Quit]
hakunin has joined #ruby-lang
ecnalyr has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
canton7 has joined #ruby-lang
phrozen77 has joined #ruby-lang
lele|2 has joined #ruby-lang
GarethAdams has joined #ruby-lang
olivier_bK has joined #ruby-lang
jinie has joined #ruby-lang
phrozen77 has quit [Max SendQ exceeded]
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
pglombardo has quit [Remote host closed the connection]
Rylee has joined #ruby-lang
phrozen77 has joined #ruby-lang
mistym has joined #ruby-lang
ToaNii has joined #ruby-lang
phrozen77 has quit [*.net *.split]
ToaNii has quit [*.net *.split]
olivier_bK has quit [*.net *.split]
jinie has quit [*.net *.split]
canton7 has quit [*.net *.split]
GarethAdams has quit [*.net *.split]
lele|2 has quit [*.net *.split]
joshsz has joined #ruby-lang
pglombardo has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
jgpawletko has quit [Quit: jgpawletko]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
earthquake has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 244 seconds]
ToaNii has joined #ruby-lang
phrozen77 has joined #ruby-lang
jinie has joined #ruby-lang
canton7 has joined #ruby-lang
olivier_bK has joined #ruby-lang
GarethAdams has joined #ruby-lang
lele|2 has joined #ruby-lang
pglombardo has quit [Ping timeout: 260 seconds]
allomov has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
rickruby_ has joined #ruby-lang
chancancode_ has joined #ruby-lang
diegoviola has quit [Ping timeout: 260 seconds]
msch_ has joined #ruby-lang
rickruby has quit [Ping timeout: 264 seconds]
chancancode has quit [Ping timeout: 264 seconds]
msch has quit [Ping timeout: 264 seconds]
chancancode_ is now known as chancancode
rickruby_ is now known as rickruby
msch_ is now known as msch
TTilus has quit [Remote host closed the connection]
ihme-TTilus has joined #ruby-lang
hakunin_ has joined #ruby-lang
allomov has joined #ruby-lang
hakunin has quit [Ping timeout: 264 seconds]
loincloth has joined #ruby-lang
vintik has joined #ruby-lang
sdouglas has joined #ruby-lang
pglombardo has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
AncientA_ has joined #ruby-lang
chouhoul_ has joined #ruby-lang
Sigma00_ has joined #ruby-lang
MikaAK1 has joined #ruby-lang
davidc_ has joined #ruby-lang
sepp2k has quit [Read error: Connection reset by peer]
symm-_ has joined #ruby-lang
wnd_ has joined #ruby-lang
neurodam1ge has joined #ruby-lang
bnagy_ has joined #ruby-lang
catepill1r has joined #ruby-lang
ged_ has joined #ruby-lang
kyb3r_ has joined #ruby-lang
djbkd has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cantonic has quit [Ping timeout: 240 seconds]
sindork has joined #ruby-lang
sindork has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
dhruvasagar_ has joined #ruby-lang
hakunin_ has quit [*.net *.split]
vintik has quit [*.net *.split]
heftig has quit [*.net *.split]
symm- has quit [*.net *.split]
ggherdov has quit [*.net *.split]
chouhoulis has quit [*.net *.split]
AncientAmateur has quit [*.net *.split]
MikaAK has quit [*.net *.split]
ged has quit [*.net *.split]
ohsix has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
adambeynon has quit [*.net *.split]
melter has quit [*.net *.split]
paulog has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
jlpeters has quit [*.net *.split]
go|dfish has quit [*.net *.split]
catepillar has quit [*.net *.split]
sindork_ has quit [*.net *.split]
Macacity has quit [*.net *.split]
jayne has quit [*.net *.split]
soraher has quit [*.net *.split]
manveru has quit [*.net *.split]
wnd has quit [*.net *.split]
moogumbo has quit [*.net *.split]
cyndis has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
styped_____ has quit [*.net *.split]
seanhagen has quit [*.net *.split]
rtlong has quit [*.net *.split]
joelmheim has quit [*.net *.split]
levifig has quit [*.net *.split]
justinweiss has quit [*.net *.split]
bnagy has quit [*.net *.split]
neurodamage has quit [*.net *.split]
concernedcitizen has quit [*.net *.split]
levifig has joined #ruby-lang
Sigma00_ is now known as Sigma00
olivier_bK has quit [Ping timeout: 240 seconds]
ohsix has joined #ruby-lang
wnd_ is now known as wnd
Olipro has quit [Ping timeout: 246 seconds]
diegoviola has joined #ruby-lang
catepill1r is now known as catepillar
cnivolle_ has quit []
enebo has quit [Quit: enebo]
go|dfish has joined #ruby-lang
allomov has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
Olipro has joined #ruby-lang
AKASkip has quit [Ping timeout: 248 seconds]
Fushi has quit [Quit: Connection closed for inactivity]
araujo has joined #ruby-lang
elia has joined #ruby-lang
emptyflask has joined #ruby-lang
pglombardo has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
emptyflask has quit []
ur5us has joined #ruby-lang
djbkd has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.3]
djbkd has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby-lang
dm78 has quit [Remote host closed the connection]
dm78 has joined #ruby-lang
Lumio has joined #ruby-lang
allomov has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
djbkd has quit [Remote host closed the connection]
dm78 has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
florentg2 has joined #ruby-lang
schaerli has joined #ruby-lang
dm78 has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MikaAK has joined #ruby-lang
fostertheweb has joined #ruby-lang
sdouglas has joined #ruby-lang
MikaAK has quit [Client Quit]
sdouglas has quit [Ping timeout: 240 seconds]
majjoha has quit [Ping timeout: 264 seconds]
chouhoul_ has quit [Ping timeout: 264 seconds]
AncientA_ has quit [Remote host closed the connection]
jhass is now known as jhass|off
mehlah has joined #ruby-lang
AncientAmateur has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
pixelhandler has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
aero224 has quit [Remote host closed the connection]