What are Ruby Objects?

Anthony N. Carrillo May 21, 2017 · originally on medium

posted here on July 28, 2019

prone to alteration *

Dear Reader,

Welcome back to learning about Ruby. While these will become longer as time goes on this one however is very short.

In RUBY everything IS an OBJECT. That is all.

BasicObject is the smallest building block but also the most encompassing. Since all other sub classes are made of it. Looking at graph 1 where you can see how it goes from 1 cell to millions of cells. However the block is the one we actually use the most since cells are too difficult, we prefer that with which we can play with and alter in the everyday.

NO, for real. Ruby consists of objects talking to each other and then them acting on those commands. Its just one big long chain of conversation/s. But one of the best explanations for blocks that I found are that these objects are a representation of something from reality (like a noun, a person, place, or thing). Which makes sense after looking at Graph 1 since they are at the same level as organisms.

— Sources —

RubyMonk – Interactive ruby tutorials to learn RubyLearn Ruby, today. You want to learn Ruby for fun, for a new job, or just to see what all the fuss is about? Start here…rubymonk.com

SkilldrickNot a very long time ago, I found the Ruby object model very confusing. Part of my problem was that I was trying to…skilldrick.co.uk

Ruby Tutorial – Learn RubyRuby Tutorial – Learn RubyRuby Tutorial – Learn Rubyrubylearning.com

Ruby in Twenty MinutesThis is a small Ruby tutorial that should take no more than 20 minutes to complete. It makes the assumption that you…www.ruby-lang.org

Why We Create Objects in RubyWhen I first started learning how to code in Ruby, I kept hearing about how it was a purely object oriented language…karimbutt.github.io