A
arose
I want some ruby code that takes a string from the cmd prompt and does
one action if the word is capitalized and another if it is not.
What would you do?
Would you use regular expressions or is there some nifty Ruby methods
in the String class that would be better?
one action if the word is capitalized and another if it is not.
What would you do?
Would you use regular expressions or is there some nifty Ruby methods
in the String class that would be better?