from_hash (Net::SFTP::Protocol::V_01::Attributes)

    # File lib/net/sftp/protocol/01/attributes.rb, line 88
        def self.from_hash( hash )
          if hash[:owner]
            require 'etc'
            hash[:uid] = Etc.getpwnam( hash[:owner] ).uid
          end

          if hash[:group]
            require 'etc'
            hash[:gid] = Etc.getgrnam( hash[:group] ).gid
          end

          new hash[:size], hash[:uid], hash[:gid], hash[:permissions],
            hash[:atime], hash[:mtime], hash[:extended]
        end