<<quiz_46_ndiff.rb>> This quiz made me delve into the darkened
alleyways of undocumented standard libraries (well, bigdecimal). Luckily
the whole thing worked exactly as guessed - probably why nobody has
bothered documenting it yet.
Is there a library that adds the median/average/etc. methods to array? I
rolled that myself because I didn't see it in the std lib.
Also, the statistics bit in the quiz description had "Average" and
"Mean" - I take it that was meant to be Mean and Median? That's what I
implemented.
quiz_46_ndiff.rb (3.93 KB)
···
#####################################################################################
This email has been scanned by MailMarshal, an email content filter.
#####################################################################################