Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
5 lines (4 sloc) 104 Bytes
require "base64"
string = 'base64 string'
encoded_string = Base64.encode64(string)
puts encoded_string