1. Technology
Send to a Friend via Email
You can opt-out at any time. Please refer to our privacy policy for contact information.



Definition: In Ruby, the type of an object refers to its place in the object hierarchy. Each object has exactly one type, or a class of objects it identifies with. The object will inherit all methods from this class and that classes parent class. Remember that in Ruby, objects have types but variables do no. Variables merely point to objects, it doesn't care what type they are.

©2014 About.com. All rights reserved.