Object
51 52 53 54 55 56
# File 'lib/mongoose.rb', line 51 def full_const_get(name) list = name.split("::") obj = Object list.each {|x| obj = obj.const_get(x) } obj end