class Object

def self.path2class(klassname)

:nodoc:
def self.path2class(klassname)
  klassname.split('::').inject(Object) { |k,n| k.const_get n }
end