Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
6 lines (4 sloc) 104 Bytes
require "base64"
string = 'base64 string'
encoded_string = Base64.encode64(string)
puts encoded_string