Error on Chapter 11. - Refactor Factory - Nice Work!

bug-instructions
ruby

#1

https://www.codecademy.com/en/courses/ruby-beginner-en-Zjd2y/0/7?curriculum_id=5059f8619189a5000201fbcb

This part of the code block inside the method does not work with out the return statements

# Check for correct input!
"n must be an integer" unless n.is_a? Integer
"n must be greater than 0" if n <= 0

#2

Concur. I helped someone earlier today (without tracking down the lesson) and remarked that they didn't have return (though they did use puts). Now that I've found your old post, checking the lesson does confirm this 'misprint'. And the post is bumped for another go around. Thank you.