Preface
- What is unique about this book?
- Who should read this book
- How to read this book
- Send me feedback
1.Introduction
- 1.1Ruby on Windows
- 1.2Ruby on Mac OS X
- 1.3Online Ruby Tutorials
- 1.4Rhythm for Working on the exercises
- 1.5Suggestions on Windows Layouts
- 1.6Type of errors
- 1.7Interactive Ruby Shell (IRB )
2.Printing Shapes
- 2.1Print out Triangle
- Working out the solution on your computer
- 2.2Print out a half diamond
- 2.3Print out diamond shape
- 2.4Print big diamond, name your size
- 2.5Exercises
3.Quiz Time
- 3.1Simple Add Calculator
- 3.2Addition Quiz
- 3.3Subtraction Quiz
- 3.4Number Guessing Game
- 3.5Exercises
4.Array and Hash
- 4.1Sort Children Names
- 4.2Get the character from given alphabetical position
- 4.3Calculate Average
- 4.4What makes 100% in life?
- 4.5Exercises
5.Useful Utility Programs
- 5.1Fahrenheit to Celsius Converter
- 5.2Personal Income Tax Calculator
- 5.3Word count
- 5.4Generate Lotto Numbers
- 5.5Number sorting
- 5.6Exercises
6.Fun Math
- 6.1Finding Divisors
- 6.2Finding the Highest Common Factor
- 6.3Finding the Least Common Multiple (LCM)
- 6.4Finding Prime Numbers
- 6.5Fibonacci sequence
- 6.6Consecutive Sums
- 6.7Exercises
7.Methods
- 7.1Finding the Highest Common Factor (using method)
- Refactoring
- 7.2Generate Lotto Numbers (using a method)
- 7.3Finding the LCM for multiple numbers (using method)
8.File and Network
- 8.1Calculate average score
- 8.2Count words and lines in a text file
- 8.3Mail merge birthday invitation cards
- 8.4Rename files
- 8.5Currency exchange with live quoting
- 8.6Send individual thank you emails
- 8.7Exercises
9.Object Oriented Programming
- 9.1Calculator (Class)
- 9.2Age of Teacher and Students
- 9.3Calculate Sales Tax
- 9.4Library System
- 9.5Sunflower vs Zombies Game Simulation
- 9.6Exercises
10.Classic Puzzles
- 10.1Google Labs Aptitude Test
- 10.2Fibonacci and HCF (Recursion)
- 10.3Calculate Compound Interest
- 10.4Farmer Crosses River Puzzle
- 10.5Cryptic Math Equation (Backtracking)
- 10.6More Puzzle Exercises
11.Web Test Automation
- 11.1The best job is not far away
- 11.2Drive Firefox with Selenium WebDriver
- 11.3Drive Chrome with Selenium WebDriver
- 11.4Complete Test with Verification
- 11.5For more on test automation …
12.Beyond This Book
- 12.1More Ruby
- 12.2More exercises
- 12.3Automated Testing with Ruby
- 12.4Web Programming with Ruby on Rails
- 12.5Game Programming and Mobile Apps
- 12.6Learn another programming language
Appendix 1 Ruby in Nutshell
Appendix 2 Solutions
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Chapter 7
- Chapter 8
- Chapter 9
- Chapter 10
- Chapter 11
Resources
- Code Editor
- Ruby Language
- Ruby Tutorials
- More Exercises
- Test Automation
- Others