Okay, I was right this time.

const_set(sym, obj) → obj
http://ruby-doc.org/core-2.0.0/Module.html#method-i-const_set