DEV Community

Discussion on: Ruby classes seem pretty cool

Collapse
 
kadeesterline profile image
Kade Esterline

A class is a template for objects, if you were building an API that queried a database of movies you would probably have a classes for things like Movies, Characters, and Actors. You would have tables in your database that coincide with each class you define.

Collapse
 
danielarmbruster0314 profile image
danielarmbruster0314

ohhhhhh that makes sense, thank you this adds a lot of clarity, thank you.