# File lib/facet/string/to_const.rb, line 13 def to_const split('::').inject(Object){ |namespace,name| namespace.const_get(name) } end