Created
June 11, 2012 16:31
-
-
Save redsquirrel/2911099 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
I need a gem. It should have 2 functions. | |
Both functions take a string and a list of words. | |
The first returns the string with all words in the list obfuscated. | |
The second returns data that contains the list of words and their associated frequency. | |
Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @redsquirrel,
Couple questions;
(Line 3) - what is the difference between a 'string' and 'a list of words'? (Are they not the same thing?)
(Line 5) By 'obfuscate' , I'm not sure if you mean the words should be jumbled, or?
Would it be too much to ask for sample input / output for each method?
Thanks!