# File lib/gpgme.rb, line 491 def GPGME.import(*args_options) raise ArgumentError, 'wrong number of arguments' if args_options.length > 2 args, options = split_args(args_options) key = args[0] key_data = input_data(key) check_version(options) GPGME::Ctx.new(options) do |ctx| ctx.import_keys(key_data) ctx.import_result end end