method

decode64

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

Decodes a base 64 encoded string to its original representation.

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