The code shows how to declare a new array.
Two arrays are considered equal if they are of the same length and if the value of each element is equal to the value of the corresponding element in the other array.
Two arrays are considered equal if
(1) they contain the same number of elements, and
(2) each element is equal to the corresponding element in the other array.
Variable number of arguments are passed to a method just by prefixing an argument with a splat (*). The variable list of arguments always comes at the end of the argument list.
This code shows how "default arguments" come into play when no arguments are passed to a function with parameters.
The delete! method which end in '!', it makes changes in place to an object rather than
to a copy.It changes the object itself.
When a method name ends with a question mark (?), as in eql?, then the method returns
a Boolean—true or false.
The insert method lets you insert another string at a given index in a string.
This method replaces a substring (first argument) with a replacement
string (second argument).