- Write a method on the String class in Ruby.
Spec | Input | Output |
---|---|---|
Capitalizes the first letter of a word | "beowulf" | "Beowulf" |
Run the following commands in Terminal:
$ git clone
this repository$ cd title_case
- Open in your preferred text editor for a closer look at the code. There is currently no way to run it in the browser.
- Only works for single words.
- Expand to capitalize all words in a sentence.
If you have any updates, questions, or suggestions please contact Margaret or make a contribution.
- Ruby
This software is licensed under the MIT license.
Copyright (c) 2017 Margaret Berry and Noah Gottlieb