make sure to require 'set' somewhere
ruby: fix symbol detection and one-letter constants

for `class: ` and for `a ? b:c`.