load (Net::SFTP::Protocol)

    # File lib/net/sftp/protocol.rb, line 18
        def self.load(session, version)
          case version
          when 1 then V01::Base.new(session)
          when 2 then V02::Base.new(session)
          when 3 then V03::Base.new(session)
          when 4 then V04::Base.new(session)
          when 5 then V05::Base.new(session)
          when 6 then V06::Base.new(session)
          else raise NotImplementedError, "unsupported SFTP version #{version.inspect}"
          end
        end