class GPGME::Ctx

def pinentry_mode=(mode)

Change the default behaviour of the pinentry invocation.
def pinentry_mode=(mode)
  GPGME::gpgme_set_pinentry_mode(self, mode)
  mode
end