# File lib/thor/util.rb, line 22 def self.full_const_get(obj, name) list = name.split("::") list.shift if list.first.empty? list.each do |x| # This is required because const_get tries to look for constants in the # ancestor chain, but we only want constants that are HERE obj = obj.const_defined?(x) ? obj.const_get(x) : obj.const_missing(x) end obj end