Module: Base64

Defined in:
lib/managesieve.rb

Overview

Define our own Base64.encode64 for compatibility with ruby <= 1.8.1, which defines encode64() at the top level.

Class Method Summary collapse

Class Method Details

.encode64(s) ⇒ Object

:nodoc:



45
46
47
# File 'lib/managesieve.rb', line 45

def encode64(s)
  [s].pack('m')
end