Created
April 22, 2015 21:13
-
-
Save ninjs/c1cc4fa7d8a0d832b5ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'uri' | |
puts "What is the string to encode?" | |
encode_string = URI.escape(gets) | |
puts encode_string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment