method

resolve

Importance_0
v2_2_9 - Show latest stable - 0 notes - Class: ClassLoader
resolve(klassname) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/psych/lib/psych/class_loader.rb, line 48
    def resolve klassname
      name    = klassname
      retried = false

      begin
        path2class(name)
      rescue ArgumentError, NameError => ex
        unless retried
          name    = "Struct::#{name}"
          retried = ex
          retry
        end
        raise retried
      end
    end
Register or log in to add new notes.