DEV Community

Cover image for Basics of Ruby Classes

Basics of Ruby Classes

Max Normand on July 26, 2023

Ruby is one of the easiest languages to grasp the concept of OOP (object orientated programming). In particular the power that of PORO’s (plain old...
Collapse
 
lucianghinda profile image
Lucian Ghinda

Hi Max,

Congrats for writing an article about Ruby Classes. We need for sure more fresh content like this one in Ruby world so that people that want to learn Ruby can be inspired.

Thank you for contributing to Ruby community and hope I can read more articles from you.


Hope you don't mind a suggestion: you can have better syntax highlighting if you specify the language when writing code samples.

For example for Ruby if you type ruby after the code markdown it will highlight the Ruby syntax:

Writing this:

Image description

will generate this preview:

Image description

Notice I wrote ruby immediately after the three backticks.

More details about how to do syntax highlighting in the markdown used by Dev.to can be found here


I was not sure how to contact you privately to write this suggestion so please feel free to delete this comment as it is off-topic.

Collapse
 
maxnormand97 profile image
Max Normand

Thanks so much for reaching out Lucian, I didn’t think anyone would even read it! Means a lot ❤️

Thanks as well for pointing out the syntax highlighting! I’ve been looking around for how to do that 💎

Collapse
 
abdusamadeveloper profile image
abdusamadeveloper

Awesome

Came across this while diving in the ruby world.
Thanks buddy 😘

Collapse
 
maxnormand97 profile image
Max Normand

Thanks so much 🙏! Hope your enjoying the world on Ruby 💎