Let's create a new class called App.
This class builds apps.
Here, instagram and fortnite
are instances of the class App.
For each instance, we want a method
called info which will produce
information about the app.
The information needs to be in
the following format:
Let's add method info to the class.
In this case, method info
takes two arguments: name
and type.
In Ruby, a method can take any
number of arguments.