Putting the Form in Formatter Chapter - 5. Printing the - .capitalize!


#1

So a prior Q asked why .capitalize! returned nothing when the name entered was already capitalized.
The prior A said take off the !
Okay - except the section before demanded the ! . I left it off and even though I got the correct output it said I was wrong.
Now I have the ! in and I get the wrong output and it says I am right.
The explanation of ! is without content.
The results don't work and it is giving me a badge!

it seems like capitalize without ! reverses case on first letter only, so if entry capitalized, then output not.
it seems like capitalize with ! reverses case on first letter only, and if entry capitalized, the nothing output.


#2

@klemkahogmail.com,
Maybe this helps you on the quest for knowledge...
http://stackoverflow.com/questions/303829/ruby-capitalize-paradox