ruby exclamation mark after method code example
Example: what is exclamation mark in ruby
foo = "A STRING" # a string called foo
foo.downcase! # modifies foo itself
puts foo # prints modified foo
foo = "A STRING" # a string called foo
foo.downcase! # modifies foo itself
puts foo # prints modified foo