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 —
Ruby Tutorial – Learn RubyRuby Tutorial – Learn RubyRuby Tutorial – Learn Rubyrubylearning.com