Recap on Ruby Logic