lib/lotus/utils/class.rb in lotus-utils-0.2.0 vs lib/lotus/utils/class.rb in lotus-utils-0.3.0

- old
+ new

@@ -50,10 +50,11 @@ return namespace.const_get(token) rescue NameError end end - raise NameError.new(name) + full_name = [ (namespace == Object ? nil : namespace), name ].compact.join('::') + raise NameError.new("uninitialized constant #{ full_name }") end end end end