class GPGME::Ctx

def pinentry_mode

Return the current pinentry mode.
def pinentry_mode
  GPGME::gpgme_get_pinentry_mode(self)
end