background preloader

Ruby

Facebook Twitter

Ruby Programming Language. Ruby Object Oriented Programming. From Techotopia Purchase and download the PDF and ePub versions of this Ruby eBook for only $8.99 Ruby is an object oriented environment and, as such, provides extensive support for developing object-oriented applications. The area of object oriented programming is, however, large. Entire books can, and indeed have, been dedicated to the subject. A detailed overview of object oriented software development is beyond the scope of Ruby Essentials. [edit] What is an Object? An object is a self-contained piece of functionality that can be easily used, and re-used as the building blocks for a software application. Objects consist of data variables and functions (called methods) that can be accessed and called on the object to perform tasks.

Just about everything in Ruby, from numbers and strings to arrays is an object. [edit] What is a Class? New classes can be created based on existing classes, a concept known as inheritance. [edit] Defining a Ruby Class [edit] Creating an Object from a Class. Ruby/Ruby on Rails programming tutorials2 - Meshplex. Ruby Essentials. Ruby on Rails. David Hansson: Why Ruby? [Ruby-Doc.org: Documenting the Ruby Language]

Ruby.