Flowdock
method

encode64

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::Base64
encode64(data) public

Encodes a string to its base 64 representation. Each 60 characters of output is separated by a newline character.

 ActiveSupport::Base64.encode64("Original unencoded string")
 # => "T3JpZ2luYWwgdW5lbmNvZGVkIHN0cmluZw==\n"
Show source
Register or log in to add new notes.