rating
Declares a rating question. The block runs once, on a fresh RatingQuestionSpec.Builder that already carries the name, and must call asking(...) and add at least two levels, lowest first. It does not run when the name is blank or already used.
Parameters
name
the question name, which must not be blank or used by an earlier question
block
sets the question's definition
Throws
if the name is blank or already used, or the definition is invalid