I often want to do something like the following to store a boolean flag in a variable:
populated? = City.inhabitants.any?
but this raises an error:
syntax error, unexpected '='
Is this due to there being some ambiguity in the language or is it simply not implemented?