So I’m at the part for begin and end, and my code keeps returning back nil, but still allowing me to progress. I just want to make sure I’m writing it correctly despite the bad result.
=begin
I’m code!
=end
And no, there are no spaces after begin and end. It returns nil. What do.
Actually, it does not returnnil, as much as there is not a return value so Ruby reports this as nil for ‘no return’. Minor semantics, so long as we recognize that the callee doesn’t return nil.
actually it doesn’t only show nil but it says “Oops, try again. It looks like you didn’t include =begin. Make sure there’s no space between the equals sign and the word begin!” but doesn’t have any error.