# File lib/gpgme.rb, line 826 def self.from_fd(fd) rdh = Array.new err = GPGME::gpgme_data_new_from_fd(rdh, fd) exc = GPGME::error_to_exception(err) raise exc if exc rdh[0] end