Chapter 1: A taste of Ruby
Chapter-goal: Brief discussion of Ruby installation, and gentle introduction to some very basic programs.
Pages: 11 (appox)
Some sub topics:
1. Ruby installation
2. Running a program from command prompt
3. assignment to variable
4. basic for loop
5. interactive Ruby shell
Chapter 2: Filing cabinet
Chapter-goal: Gentle introduction to file input output, and a few other Ruby features, along with some associated case studies.
Pages: 24 (appox)
Some sub topics:
1. Reading input from console
2. Command line arguments
3. Reading from a file
4. Writing to a file
5. Processing line by line
6. Basic exception handling
Chapter 3: Elementary
Chapter-goal: Gentle introduction to some basic language elements in some detail, along with relevant examples / case studies
Pages: 25 (appox)
Some sub topics:
1. Variables and operators
2. Strings
3. Control flow structures - if, while, for etc.
4. Comment in a code
5. Introduction to functions
6. Exception handling in some detail
Chapter 4: Collections
Chapter-goal: Gentle introduction to some of the main collection classes in some detail, along with relevant examples / case studies
Pages: 24 (appox)
Some sub topics:
1. Arrays
2. Ranges
3. Hashes
4. Iterators
5. Some related API functions usage
Chapter 5: First flight
Chapter-goal: A lot of examples, case studies, with mostly materials learnt so far, with a few new feature introduction as necessary.
Pages: 18 (appox)
Some sub topics:
1. Task 1: Get the total price
2. Task 2: querying the employee file
3. Task 3: Dividing files into subdirectories
4. Task 4: Adding header comments
5. Task 5: Balance from transactions
Chapter 6: Regular Expressions
Chapter-goal: A detailed coverage of working with regular expressions.
Pages: 42 (appox)
Some sub topics:
1. Introduction to regulare expressions
2. Character classes
3. Quantifiers
4. Anchors
5. Backtracking
6. Replacement
Chapter 7: Paraphernalia
Chapter-goal: Gentle introduction to certain ruby tricks and extra topics
Pages: 23 (appox)
Some sub topics:
1. Handling date and time
2. Multiple assignments
3. Pre defined variables
4. Predefined Constants
5. True, False and Nil
6. Return from block
Chapter 8: Cruising along
Chapter-goal: Some more tasks / case studies with the knowledge.
Pages: 28 (appox)
Some sub topics:
1. Task 1: Remove block commented code
2. Task 2: Create or Replace
3. Task 3: Getting distinct table names from code
4. processing XML as text
Chapter 9: Classes and Structures
Chapter-goal: Gentle introduction to object oriented side of ruby, along with use of Struct
Pages: 14 (appox)
Some sub topics:
1. Classes and objects
2. Subclassing and inheritance
3. working with Struct
4. Modules
Chapter 10: Functional programming facet of Ruby
About the Author: A Master of Engineering (Mechanical Engineering) from IISc, Bangalore ('94), Malay is working in IT for the last 22 or so years. He worked across multiple geographical locations (India, Japan, Singapore, UK ..), across multiple technology stack and for quite a few well known organisations (Telstra, JP Morgan, Citigroup etc.). He quite often actively learns new things, and his creation (other than books) include Apps in Google Play, and some small wooden pieces of furniture at home.