Difference between revisions of "Ruby Essentials"

From Techotopia
Jump to: navigation, search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
# [[About Ruby Essentials]]
+
Ruby Essentials is a free on-line book designed to provide a concise and easy to follow guide to learning Ruby.
 +
 
 +
 
 +
<table border="0" cellspacing="0" width="100%"><tr>
 +
<td width="20%"><td align="center">[[Ruby Essentials|Table of Contents]]<td width="20%" align="right">[[About Ruby Essentials|Next]]</td>
 +
<tr>
 +
<td width="20%"><td align="center"><td width="20%" align="right">About Ruby Essentials</td>
 +
</table>
 +
<hr>
 +
 
 +
 
 +
<htmlet>ruby</htmlet>
 +
 
 +
 
 +
© 2012 Neil Smyth / Payload Media. This eBook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights reserved.
 +
 
 +
 
 +
<table>
 +
<tr>
 +
<td>
 +
# [[About Ruby Essentials]]<br><br>
 
# [[What is Ruby?]]
 
# [[What is Ruby?]]
 
#* [[What is Ruby?|The History of Ruby]]
 
#* [[What is Ruby?|The History of Ruby]]
Line 20: Line 40:
 
#* [[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]]<br><br>
+
#* [[Commenting Ruby Code|Multi Line or Block Ruby Comments]]<br><br><htmlet>ezoictoc1</htmlet>
 
# [[Understanding Ruby Variables]]
 
# [[Understanding Ruby Variables]]
 
#* [[Understanding Ruby Variables|Ruby Constants]]
 
#* [[Understanding Ruby Variables|Ruby Constants]]
Line 57: Line 77:
 
#* [[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]]<br><br>
+
#* [[Understanding Ruby Arrays|Finding the Index of an Element]]<br><br><htmlet>ezoictoc2</htmlet>
 
# [[Advanced Ruby Arrays]]
 
# [[Advanced Ruby Arrays]]
 
#* [[Advanced Ruby Arrays|Combining Ruby Arrays]]
 
#* [[Advanced Ruby Arrays|Combining Ruby Arrays]]
Line 104: Line 124:
 
#* [[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]]<br><br>
+
#* [[Looping with for and the Ruby Looping Methods|The Ruby downto Method]]<br><br><htmlet>ezoictoc3</htmlet>
 
# [[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 123: Line 143:
 
#* [[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]]<br><br>
+
#* [[Ruby String Replacement, Substitution and Insertion|Reversing the Characters in a String]]<br><br><htmlet>ezoictoc4</htmlet>
 
# [[Ruby String Conversions]]
 
# [[Ruby String Conversions]]
 
#* [[Ruby String Conversions|Converting a Ruby String to an Array]]
 
#* [[Ruby String Conversions|Converting a Ruby String to an Array]]
Line 137: Line 157:
 
#* [[Working with Files in Ruby|Renaming and Deleting Files in Ruby]]
 
#* [[Working with Files in Ruby|Renaming and Deleting Files in Ruby]]
 
#* [[Working with Files in Ruby|Getting Information About Files]]
 
#* [[Working with Files in Ruby|Getting Information About Files]]
#* [[Working with Files in Ruby|Reading and Writing Files]]
+
#* [[Working with Files in Ruby|Reading and Writing Files]]<br><br>
 +
# [[Working with Dates and Times in Ruby]]
 +
#* [[Working with Dates and Times in Ruby|Accessing the Date and DateTime Classes in Ruby]]
 +
#* [[Working with Dates and Times in Ruby|Working with Dates in Ruby]]
 +
#* [[Working with Dates and Times in Ruby|Calculating the Difference Between Dates]]<br><br>
 +
# [[Useful Ruby Links and Resources]]<br><br>
 +
</td>
 +
<td valign="top">
 +
<htmlet>adsdaqbox</htmlet>
 +
</td>
 +
</tr>
 +
</table>
 +
 
 +
 
 +
<htmlet>ruby</htmlet>
 +
 
 +
 
 +
<hr>
 +
<table border="0" cellspacing="0" width="100%"><tr>
 +
<td width="20%"><td align="center">[[Ruby Essentials|Table of Contents]]<td width="20%" align="right">[[About Ruby Essentials|Next]]</td>
 +
<tr>
 +
<td width="20%"><td align="center"><td width="20%" align="right">About Ruby Essentials</td>
 +
</table>

Latest revision as of 15:56, 18 November 2016

Ruby Essentials is a free on-line book designed to provide a concise and easy to follow guide to learning Ruby.


Table of ContentsNext
About Ruby Essentials


Purchase and download the full PDF and ePub editions of this Ruby eBook for only $8.99


© 2012 Neil Smyth / Payload Media. This eBook is provided for personal use only. Unauthorized use, reproduction and/or distribution strictly prohibited. All rights reserved.


  1. About Ruby Essentials

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

  17. Ruby Object Oriented Programming
  18. Ruby Flow Control
  19. The Ruby case Statement
  20. Ruby While and Until Loops
  21. Looping with for and the Ruby Looping Methods
  22. Ruby Strings - Creation and Basics
  23. Ruby String Concatenation and Comparison
  24. Ruby String Replacement, Substitution and Insertion
  25. Ruby String Conversions
  26. Ruby Directory Handling
  27. Working with Files in Ruby
  28. Working with Dates and Times in Ruby
  29. Useful Ruby Links and Resources


Purchase and download the full PDF and ePub editions of this Ruby eBook for only $8.99



Table of ContentsNext
About Ruby Essentials