Ascendeum interview question

Pattern printing using ruby. A simple star pattern.