1. Technology

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 ...
http://ruby.about.com/od/advancedruby/a/bignum_3.htm
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 ...
http://ruby.about.com/od/variables/a/Class-Variables.htm
Instance Variables in Ruby
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 ...
http://ruby.about.com/od/variables/a/Instance-Variables.htm
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 ...
http://ruby.about.com/od/beginningruby/ss/Introducing-Classes.htm
Free Online Ruby Programming Classes - Distance Learning
This site offers dozens of free online Ruby programming classes for beginning to advanced programmers. Try "Getting Started with Rails" to survey a Ruby ...
http://distancelearn.about.com/od/isitforyou/tp/FreeOnlineRubyClasses.htm
Using Attributes With Ruby - About.com
Ruby doesn't make a distinction between these things, but it does give you some ... usr/bin/env ruby class Person def initialize(name) @name = name end def ...
http://ruby.about.com/od/oo/ss/Using-Attributes.htm
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.
http://ruby.about.com/od/advancedruby/a/Constants-In-Ruby.htm
Storing Key/Value Pairs in Ruby - Structs and OpenStructs - About.com
Storing key/value pairs in Ruby doesn't always need to be accomplished by using a hash. You can also use the Struct and OpenStruct classes.
http://ruby.about.com/od/rubysbasicfeatures/f/structs.htm
Is the "Require" Method Overlooked in Ruby? - About.com
In Ruby, the require method is used to load another file and execute all its statements. This serves to import all class and method definitions in the file. In addition ...
http://ruby.about.com/od/rubyfeatures/a/require.htm
Instantiation and the Initialize Method - Ruby - About.com
Ruby objects are instantiated using the Class.new method, and initialize using their own initialize methods.
http://ruby.about.com/od/oo/ss/Instantiation-And-The-Initialize-Method.htm
1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10      Next

©2014 About.com. All rights reserved.