module Net::IMAP::SASL::ProtocolAdapters::Generic

def decode(string) string.unpack1("m0") end

The generic implementation returns the Base64 decoding of +string+.

Decodes a server challenge string.
def decode(string)    string.unpack1("m0") end