xenomuta/bejs — pull request #2 by rbritom (2012-07-15 19:21:34+00:00)
Title: sentence conversion is implemented

There is no localization for now. Last element joins with 'and'. Can take a list of arguments or an array. Validation that the elements are string is missing.

There is a test for shownAsTime that fails if i pass a string, i think it should throw an error is the type is not a number, I added several functions for test object types, follow the same pattern to check for the correct object type is passed to shownAsTime.