Created
May 16, 2015 15:27
-
-
Save satour/870c5256f991b2c9b225 to your computer and use it in GitHub Desktop.
REVERSE WORDS - CodeEval
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
#https://www.codeeval.com/open_challenges/8/ | |
File.open(ARGV[0]).each_line do |line| | |
puts line.split(" ").reverse.join(" ") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment