Ruby: Bang !

Duplicates of a method name that have a ! at the end, signal a side effect; that side effect is usually that it changes the value of the variable.

Ruby: Strings

In Ruby, a String is created with double-quotes: "I am a String" String interpolation is done in Ruby with # { }: new_string = "New" "I am a #{new_string}" Return…