class GPGME::Crypto
def self.method_missing(method, *args, &block)
Allows calling of methods directly in the module without the need to
#
def self.method_missing(method, *args, &block) if GPGME::Crypto.instance_methods(false).include?(method) crypto = GPGME::Crypto.new crypto.send method, *args, &block else super end end