DEV Community

Luke O'Connell
Luke O'Connell

Posted on

Today I learned

Today I learned about strings in Ruby. One thing I learned about was the concat method and how it interprets a number as an ASCII code and translates it to a single character. We use the shortcut of string literals to type out strings. I also learned about some of the string class's methods including: string addition and multiplication, reverse, upcase, downcase, and swapcase. Another important thing I learned is that the only time we use capital letters when we're programming is when we refer to Ruby classes.

Top comments (0)