# File lib/gpgme/key.rb, line 95 def export(pattern, options = {}) output = Data.new(options[:output]) GPGME::Ctx.new(options) do |ctx| ctx.export_keys(pattern, output) end output.seek(0) output end