Permalink
Find file
03b7817 Jan 3, 2016
6 lines (4 sloc) 135 Bytes
require "base64"
encoded_string = 'YmFzZTY0IGVuY29kZWQgc3RyaW5n'
decoded_string = Base64.decode64(encoded_string)
puts decoded_string