Solutions to the Ruby course at FMI tasks