Bang!

Learn about the Bang(!) in Ruby.

We'll cover the following

Another exciting challenge we should tackle is what we call the “bang,” “exclamation mark,” or just the ! at the end of some methods. Let’s look at the Ruby program below. If we’re using non-English characters on Windows, we may encounter some difficulties with the downcase method:

Get hands-on with 1400+ tech skills courses.