Classes and methods
Learn **how to create and use classes** in the Ruby programming language.
Classes are commonly used in Object-Oriented Programming (OOP). They help you define a basic model for creating objects. For example, let's create a `Movie` class to handle data about movies: ```ruby class Movie def initialize(title) @title = title end end ``` Now, you can create your class by calling `Movie.new("movie name")`: ```ruby movie = Movie.new("The Godfather") ``` Eventually, you might want to do some data transformation. For example, let's say we want to generate an `id` b