Difference between revisions of "Ruby Essentials"

From Techotopia
Jump to: navigation, search
Line 9: Line 9:
 
#* [[Getting and Installing Ruby|Ruby on Red Hat Enterprise and Fedora Linux]]
 
#* [[Getting and Installing Ruby|Ruby on Red Hat Enterprise and Fedora Linux]]
 
#* [[Getting and Installing Ruby|Ruby on Ubuntu and Debian Linux]]
 
#* [[Getting and Installing Ruby|Ruby on Ubuntu and Debian Linux]]
#* [[Getting and Installing Ruby|Ruby on Microsoft Windows]]
+
#* [[Getting and Installing Ruby|Ruby on Microsoft Windows]]<br><br>
 
# [[Simple Ruby Examples]]
 
# [[Simple Ruby Examples]]
 
#* [[Simple Ruby Examples|The Most Basic Ruby Example]]
 
#* [[Simple Ruby Examples|The Most Basic Ruby Example]]
Line 16: Line 16:
 
#* [[Simple Ruby Examples|Executing Ruby from a File]]
 
#* [[Simple Ruby Examples|Executing Ruby from a File]]
 
#* [[Simple Ruby Examples|Creating a Self Contained Ruby Executable on Linux or UNIX]]
 
#* [[Simple Ruby Examples|Creating a Self Contained Ruby Executable on Linux or UNIX]]
#* [[Simple Ruby Examples|Associating Ruby Files on Windows]]
+
#* [[Simple Ruby Examples|Associating Ruby Files on Windows]]<br><br>
 
# [[Commenting Ruby Code]]
 
# [[Commenting Ruby Code]]
 
#* [[Commenting Ruby Code|What is Exactly is Commenting]]
 
#* [[Commenting Ruby Code|What is Exactly is Commenting]]
 
#* [[Commenting Ruby Code|Single Line Ruby Comments]]
 
#* [[Commenting Ruby Code|Single Line Ruby Comments]]
 
#* [[Commenting Ruby Code|Comments on Lines of Code]]
 
#* [[Commenting Ruby Code|Comments on Lines of Code]]
#* [[Commenting Ruby Code|Multi Line or Block Ruby Comments]]
+
#* [[Commenting Ruby Code|Multi Line or Block Ruby Comments]]<br><br>
 
# [[Understanding Ruby Variables]]
 
# [[Understanding Ruby Variables]]
 
#* [[Understanding Ruby Variables|Ruby Constants]]
 
#* [[Understanding Ruby Variables|Ruby Constants]]
Line 28: Line 28:
 
#* [[Understanding Ruby Variables|Identifying a Ruby Variable Type]]
 
#* [[Understanding Ruby Variables|Identifying a Ruby Variable Type]]
 
#* [[Understanding Ruby Variables|Changing Variable Type]]
 
#* [[Understanding Ruby Variables|Changing Variable Type]]
#* [[Understanding Ruby Variables|Converting Variable Values]]
+
#* [[Understanding Ruby Variables|Converting Variable Values]]<br><br>
 
# [[Ruby Variable Scope]]
 
# [[Ruby Variable Scope]]
 
#* [[Ruby Variable Scope|What is Variable Scope?]]
 
#* [[Ruby Variable Scope|What is Variable Scope?]]
Line 36: Line 36:
 
#* [[Ruby Variable Scope|Ruby Class Variables]]
 
#* [[Ruby Variable Scope|Ruby Class Variables]]
 
#* [[Ruby Variable Scope|Ruby Instance Variables]]
 
#* [[Ruby Variable Scope|Ruby Instance Variables]]
#* [[Ruby Variable Scope|Ruby Constant Scope]]
+
#* [[Ruby Variable Scope|Ruby Constant Scope]]<br><br>
 
# [[Ruby Number Classes and Conversions]]
 
# [[Ruby Number Classes and Conversions]]
 
#* [[Ruby Number Classes and Conversions|Ruby Number Classes]]
 
#* [[Ruby Number Classes and Conversions|Ruby Number Classes]]
#* [[Ruby Number Classes and Conversions|Converting Numbers in Ruby]]
+
#* [[Ruby Number Classes and Conversions|Converting Numbers in Ruby]]<br><br>
 
# [[Ruby Ranges]]
 
# [[Ruby Ranges]]
 
#* [[Ruby Ranges|Ruby Sequence Ranges]]
 
#* [[Ruby Ranges|Ruby Sequence Ranges]]
Line 45: Line 45:
 
#* [[Ruby Ranges|Ruby Ranges as Conditional Expressions]]
 
#* [[Ruby Ranges|Ruby Ranges as Conditional Expressions]]
 
#* [[Ruby Ranges|Ruby Range Intervals]]
 
#* [[Ruby Ranges|Ruby Range Intervals]]
#* [[Ruby Ranges|Ranges in case Statements]]
+
#* [[Ruby Ranges|Ranges in case Statements]]<br><br>
 
# [[Understanding Ruby Arrays]]
 
# [[Understanding Ruby Arrays]]
 
#* [[Understanding Ruby Arrays|What is a Ruby Array]]
 
#* [[Understanding Ruby Arrays|What is a Ruby Array]]
Line 52: Line 52:
 
#* [[Understanding Ruby Arrays|Finding Out Information About a Ruby Array]]
 
#* [[Understanding Ruby Arrays|Finding Out Information About a Ruby Array]]
 
#* [[Understanding Ruby Arrays|Accessing Array Elements]]
 
#* [[Understanding Ruby Arrays|Accessing Array Elements]]
#* [[Understanding Ruby Arrays|Finding the Index of an Element]]
+
#* [[Understanding Ruby Arrays|Finding the Index of an Element]]<br><br>
 
# [[Advanced Ruby Arrays]]
 
# [[Advanced Ruby Arrays]]
 
#* [[Advanced Ruby Arrays|Combining Ruby Arrays]]
 
#* [[Advanced Ruby Arrays|Combining Ruby Arrays]]
Line 61: Line 61:
 
#* [[Advanced Ruby Arrays|Modifying Arrays]]
 
#* [[Advanced Ruby Arrays|Modifying Arrays]]
 
#* [[Advanced Ruby Arrays|Deleting Array Elements]]
 
#* [[Advanced Ruby Arrays|Deleting Array Elements]]
#* [[Advanced Ruby Arrays|Sorting Arrays]]
+
#* [[Advanced Ruby Arrays|Sorting Arrays]]<br><br>
 
# [[Ruby Operators]]
 
# [[Ruby Operators]]
 
#* [[Ruby Operators|The Anatomy of a Ruby Operation]]
 
#* [[Ruby Operators|The Anatomy of a Ruby Operation]]
Line 68: Line 68:
 
#* [[Ruby Operators|Parallel Assignment]]
 
#* [[Ruby Operators|Parallel Assignment]]
 
#* [[Ruby Operators|Ruby Comparison Operators]]
 
#* [[Ruby Operators|Ruby Comparison Operators]]
#* [[Ruby Operators|Ruby Bitwise Operators]]
+
#* [[Ruby Operators|Ruby Bitwise Operators]]<br><br>
 
# [[Ruby Operator Precedence]]
 
# [[Ruby Operator Precedence]]
#* [[Ruby Operator Precedence|An Example of Ruby Operator Precedence]]
+
#* [[Ruby Operator Precedence|An Example of Ruby Operator Precedence]]<br><br>
# [[Ruby Math Functions and Methods]]
+
# [[Ruby Math Functions and Methods]]<br><br>
# [[Understanding Ruby Logical Operators]]
+
# [[Understanding Ruby Logical Operators]]<br><br>
# [[Ruby Object Oriented Programming]]
+
# [[Ruby Object Oriented Programming]]<br><br>
 
#* [[Ruby Object Oriented Programming|What is an Object?]]
 
#* [[Ruby Object Oriented Programming|What is an Object?]]
 
#* [[Ruby Object Oriented Programming|What is a Class?]]
 
#* [[Ruby Object Oriented Programming|What is a Class?]]
Line 81: Line 81:
 
#* [[Ruby Object Oriented Programming|Ruby Class Variables]]
 
#* [[Ruby Object Oriented Programming|Ruby Class Variables]]
 
#* [[Ruby Object Oriented Programming|Instance Methods]]
 
#* [[Ruby Object Oriented Programming|Instance Methods]]
#* [[Ruby Object Oriented Programming|Ruby Class Inheritance]]
+
#* [[Ruby Object Oriented Programming|Ruby Class Inheritance]]<br><br>
 
# [[Ruby Flow Control]]
 
# [[Ruby Flow Control]]
 
#* [[Ruby Flow Control|The Ruby if Statement]]
 
#* [[Ruby Flow Control|The Ruby if Statement]]
 
#* [[Ruby Flow Control|Using else and elsif Constructs]]
 
#* [[Ruby Flow Control|Using else and elsif Constructs]]
#* [[Ruby Flow Control|The Ruby Ternary Operator]]
+
#* [[Ruby Flow Control|The Ruby Ternary Operator]]<br><br>
 
# [[The Ruby case Statement]]
 
# [[The Ruby case Statement]]
#* [[The Ruby case Statement|Number Ranges and the case statement]]
+
#* [[The Ruby case Statement|Number Ranges and the case statement]]<br><br>
 
# [[Ruby While and Until Loops]]
 
# [[Ruby While and Until Loops]]
 
#* [[Ruby While and Until Loops|The Ruby While Loop]]
 
#* [[Ruby While and Until Loops|The Ruby While Loop]]
 
#* [[Ruby While and Until Loops|Breaking from While Loops]]
 
#* [[Ruby While and Until Loops|Breaking from While Loops]]
#* [[Ruby While and Until Loops|unless and until]]
+
#* [[Ruby While and Until Loops|unless and until]]<br><br>
 
# [[Looping with for and the Ruby Looping Methods]]
 
# [[Looping with for and the Ruby Looping Methods]]
 
#* [[Looping with for and the Ruby Looping Methods|The Ruby for Loop]]
 
#* [[Looping with for and the Ruby Looping Methods|The Ruby for Loop]]
 
#* [[Looping with for and the Ruby Looping Methods|The Ruby times Method]]
 
#* [[Looping with for and the Ruby Looping Methods|The Ruby times Method]]
 
#* [[Looping with for and the Ruby Looping Methods|The Ruby upto Method]]
 
#* [[Looping with for and the Ruby Looping Methods|The Ruby upto Method]]
#* [[Looping with for and the Ruby Looping Methods|The Ruby downto Method]]
+
#* [[Looping with for and the Ruby Looping Methods|The Ruby downto Method]]<br><br>
 
# [[Ruby Strings - Creation and Basics]]
 
# [[Ruby Strings - Creation and Basics]]
 
#* [[Ruby Strings - Creation and Basics|Creating Strings in Ruby]]
 
#* [[Ruby Strings - Creation and Basics|Creating Strings in Ruby]]
Line 102: Line 102:
 
#* [[Ruby Strings - Creation and Basics|General Delimited Strings]]
 
#* [[Ruby Strings - Creation and Basics|General Delimited Strings]]
 
#* [[Ruby Strings - Creation and Basics|Ruby Here Documents]]
 
#* [[Ruby Strings - Creation and Basics|Ruby Here Documents]]
#* [[Ruby Strings - Creation and Basics|Getting Information About String Objects]]
+
#* [[Ruby Strings - Creation and Basics|Getting Information About String Objects]]<br><br>
 
# [[Ruby String Concatenation and Comparison]]
 
# [[Ruby String Concatenation and Comparison]]
 
#* [[Ruby String Concatenation and Comparison|Concatenating Strings in Ruby]]
 
#* [[Ruby String Concatenation and Comparison|Concatenating Strings in Ruby]]
Line 108: Line 108:
 
#* [[Ruby String Concatenation and Comparison|Accessing String Elements]]
 
#* [[Ruby String Concatenation and Comparison|Accessing String Elements]]
 
#* [[Ruby String Concatenation and Comparison|Comparing Ruby Strings]]
 
#* [[Ruby String Concatenation and Comparison|Comparing Ruby Strings]]
#* [[Ruby String Concatenation and Comparison|Case Insensitive String Comparisons]]
+
#* [[Ruby String Concatenation and Comparison|Case Insensitive String Comparisons]]<br><br>
 
# [[Ruby String Replacement, Substitution and Insertion]]
 
# [[Ruby String Replacement, Substitution and Insertion]]
 
#* [[Ruby String Replacement, Substitution and Insertion|Changing a Section of a String]]
 
#* [[Ruby String Replacement, Substitution and Insertion|Changing a Section of a String]]
Line 115: Line 115:
 
#* [[Ruby String Replacement, Substitution and Insertion|Inserting Text Into a Ruby String]]
 
#* [[Ruby String Replacement, Substitution and Insertion|Inserting Text Into a Ruby String]]
 
#* [[Ruby String Replacement, Substitution and Insertion|Ruby chomp and chop Methods]]
 
#* [[Ruby String Replacement, Substitution and Insertion|Ruby chomp and chop Methods]]
#* [[Ruby String Replacement, Substitution and Insertion|Reversing the Characters in a String]]
+
#* [[Ruby String Replacement, Substitution and Insertion|Reversing the Characters in a String]]<br><br>
 
# [[Ruby String Conversions]]
 
# [[Ruby String Conversions]]
 
#* [[Ruby String Conversion|Converting a Ruby String to an Array]]
 
#* [[Ruby String Conversion|Converting a Ruby String to an Array]]
 
#* [[Ruby String Conversion|Changing the Case of a Ruby String]]
 
#* [[Ruby String Conversion|Changing the Case of a Ruby String]]
#* [[Ruby String Conversion|Performing String Conversions]]
+
#* [[Ruby String Conversion|Performing String Conversions]]<br><br>
 
# [[Ruby File and Directory Handling]]
 
# [[Ruby File and Directory Handling]]

Revision as of 02:23, 29 November 2007

The Ruby Essentials book is currently under development and is scheduled for completion at the end of November 2007.

  1. What is Ruby?
  2. Getting and Installing Ruby
  3. Simple Ruby Examples
  4. Commenting Ruby Code
  5. Understanding Ruby Variables
  6. Ruby Variable Scope
  7. Ruby Number Classes and Conversions
  8. Ruby Ranges
  9. Understanding Ruby Arrays
  10. Advanced Ruby Arrays
  11. Ruby Operators
  12. Ruby Operator Precedence
  13. Ruby Math Functions and Methods

  14. Understanding Ruby Logical Operators

  15. Ruby Object Oriented Programming

  16. Ruby Flow Control
  17. The Ruby case Statement
  18. Ruby While and Until Loops
  19. Looping with for and the Ruby Looping Methods
  20. Ruby Strings - Creation and Basics
  21. Ruby String Concatenation and Comparison
  22. Ruby String Replacement, Substitution and Insertion
  23. Ruby String Conversions
  24. Ruby File and Directory Handling