    # File lib/facets/more/typecast.rb, line 202
        def from_string(string)
          string = string.to_s.modulize
          base   = string.sub!(/^::/, '') ? Object : (self.kind_of?(Module) ? self : self.class )
          klass  = string.split(/::/).inject(base){ |mod, name| mod.const_get(name) }
          return klass if klass.kind_of? Class
          nil
        rescue
          nil
        end