Yet another reason why testers should use Ruby

Instant sequence of New South Wales licence plates:

start_lpn=”AA00AA”

end_lpn=”ZZ99ZZ”

return start_lpn.upto(end_lpn).collect { | lpn | lpn }

Leave a Reply

Your email address will not be published. Required fields are marked *