Ruby verifique si existe constante

Object.const_defined?(const.to_s)
Old-fashioned Owl