defining_classes
🏗️ Define Classes
In Ruby, classes are blueprints for creating objects. You define a class using the class
keyword and end it with end
. This establishes the structure and behavior for any objects instantiated from it.
class Person
# methods and variables will go here
end