27
Jul 13

Creating Classes, Objects, and Variables in Ruby.

So my task today was to focus on establishing all the required basics in constructing classes and instantiating objects from those classes and seeing what I can do with these objects ruby style. 1 2 3 4 5 6 class Animal def initialize(name, nickname, sound) @name = name @nickname = nickname end end That is [...]


22
Jul 13

Object Oriented Ruby

I wanted to find out how to create classes and objects in ruby so I started with the ruby documentation and google. I was interested in finding out exactly what objects mean to ruby and then compare it to how other languages like PHP, Java, Python deal with objects, by this I am referring to [...]


22
Jul 13

What is Object Oriented Programming (OOP)

In this blog, I wanted to first fully understand what OOP really means, so I started researching the web and old textbooks. I am very glad I did as it really made things a lot clearer for me as well as increased my desire to learn ruby language. Below is my summary on the subject. [...]