Articles related to ruby classes
Ruby's Class Hierarchy for Numbers - About.com
All numbers are represented by some descendant of the Numeric class. All of these classes know how to perform operations on each other, so there's no need to ...
Class Variables - Ruby - About.com
Class variables in Ruby are more or less as you'd expect form an object oriented language. However, Ruby throws you a curveball you can use to your ...
Introducing Classes - Ruby - About.com
Ruby is an object oriented programming language. This means code is organized into classes, and data is manipulated via objects. Since this is so essential to ...
Instance Variables in Ruby - About.com
Instance variables begin with an at sign (@) and can be referenced only within class methods. They differ from local variables in that they don't exist within any ...
Free Online Ruby Programming Classes - Distance Learning
Anyone can improve their skills by taking a free online Ruby programming class. Learn Ruby on Rails by checking out these top-rated tutorials, screencasts, and ...
Constants in Ruby - About.com
Like just about every programming language every conceived, Ruby supports ... values defined, but a list of classes and modules also defined in that module.
Instantiation and the Initialize Method - Ruby - About.com
Ruby objects are instantiated using the Class.new method, and initialize using their own initialize methods.
References to Methods in Ruby - About.com
usr/bin/env ruby class Monkey def initialize @bananas = 3 end def eat_banana if @bananas > 0 @bananas -= 1 puts "The monkey eats a banana" else puts ...
Ruby Best Practices--Making Quick Exceptions - About.com
On the Ruby Best Practices blog, Gregory Brown wrote an interesting article on a quick way for making exception classes. I do believe, though, that we can take ...
Reference: Named Character Classes - Ruby - About.com
A listing of the named character classes available to you in regular expressions in Ruby.