Methods
Instance Public methods
Also aliased as: decode
Source: show
# File rails/actionmailer/lib/action_mailer/vendor/tmail/base64.rb, line 44 def rb_decode( str, strict = false ) str.unpack('m') end
Also aliased as: encode
Source: show
# File rails/actionmailer/lib/action_mailer/vendor/tmail/base64.rb, line 40 def rb_encode( str ) [str].pack('m').tr( "\r\n", '' ) end
Also aliased as: folding_encode
Source: show
# File rails/actionmailer/lib/action_mailer/vendor/tmail/base64.rb, line 36 def rb_folding_encode( str, eol = "\n", limit = 60 ) [str].pack('m') end