Sha256: 0656f92ae4c4c5889679935aac6c7af2d4d6438e52e50b230cbc095639413eaf

Contents?: true

Size: 324 Bytes

Versions: 28

Compression:

Stored size: 324 Bytes

Contents

# encoding: utf-8
module Mail
  module Encodings
    class Base64
      
      # Decode the string from Base64
      def self.decode(str)
        RubyVer.decode_base64( str )
      end
    
      # Encode the string to Base64
      def self.encode(str)
        RubyVer.encode_base64( str )
      end
      
    end
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
mail-2.1.3 lib/mail/encodings/base64.rb
kbaum-mail-2.1.2.1 lib/mail/encodings/base64.rb
mail-2.1.2 lib/mail/encodings/base64.rb
mail-2.1.1 lib/mail/encodings/base64.rb
mail-2.1.0 lib/mail/encodings/base64.rb
mail-2.0.5 lib/mail/encodings/base64.rb
mail-2.0.3 lib/mail/encodings/base64.rb
mail-1.6.0 lib/mail/encodings/base64.rb
mail-1.5.4 lib/mail/encodings/base64.rb
mail-1.5.3 lib/mail/encodings/base64.rb
mail-1.5.2 lib/mail/encodings/base64.rb
mail-1.5.1 lib/mail/encodings/base64.rb
mail-1.5.0 lib/mail/encodings/base64.rb
mail-1.4.3 lib/mail/encodings/base64.rb
mail-1.4.2 lib/mail/encodings/base64.rb
mail-1.4.1 lib/mail/encodings/base64.rb
mail-1.4.0 lib/mail/encodings/base64.rb
mail-1.3.5 lib/mail/encodings/base64.rb
mail-1.3.4 lib/mail/encodings/base64.rb
mail-1.3.3 lib/mail/encodings/base64.rb