Module: MySQLExpectations::ArrayRefinements
- Defined in:
- lib/mysql_expectations/array_refinements.rb
Overview
Monkey patch Array to have #to_sentence. #to_sentence converts the array to a delimited string. you pick the delimiter, you pick the coordinating conjunction, you pick serial delimiter or not.
Serial delimiter (or serial comma in the case the delimiter is a comma), means to include the comma between the last two items in the list.