On Nov 14, 2008, at 6:12 PM, Ryan Davis wrote:

>
> On Nov 14, 2008, at 11:20 , Matthew Moss wrote:
>
>>>> Note to everyone else: using another lib, such as stick, is  
>>>> considered cheating for this quiz.  :D
>
> so... `units` isn't a library... is this cheating?
>
> >> def units(n, i, o) `units "#{n} #{i}" #{o}`[/[\d\.]+/].to_f; end
> => nil
> >> units 50, :mi, :km
> => 80.4672
>
> :D
>
> I assume it is... but I also assume it isn't a real contender for  
> the intent of the quiz in the first place (which is a shame, because  
> this is much better reuse).


Well, there are a number of past quizzes that would be rather boring  
if reuse were always the primary goal.  :D

Don't be boring.  ;)