Table of contents

Table of Contents

About this book’s publication
Preface

Chapter 1  Before reading the main section
1.1 Introduction
1.2 A summary of this book
1.3 About Ruby
1.4 Installing Ruby
1.5 About editors/IDEs
1.6 Let’s try out Ruby
1.7 In case the sample code doesn’t work
1.8 Conclusion

Chapter 2  Understanding the basics of Ruby
2.1 Introduction
2.2 Basic Ruby related knowledge
2.3 Strings
2.4 Numerical values
2.5 Booleans and conditionals
2.6 Defining methods
2.7 The exercise: Let’s make our FizzBuzz program
2.8 Strings in more detail
2.9 Numerical values in more detail
2.10 Booleans and conditionals in more detail
2.11 Defining methods in more detail
2.12 Other basic information
2.13 Conclusion

Chapter 3 Automated testing
3.1 Introduction
3.2 Minitest basics
3.3 Automated testing for the FizzBuzz program
3.4 Conclusion

Chapter 4  Understanding Arrays and Loops
4.1 Introduction
4.2 Arrays
4.3 Blocks
4.4 Array methods that utilize blocks
4.5. Range
4.6 The exercise: Let’s make our RBG color changer
4.7 Arrays in more detail
4.8 Blocks in more detail
4.9 Different kinds of loops
4.10 Control flow for loops

Chapter 5  Understanding hashes and symbols
5.1 Introduction
5.2 Hashes
5.3 Symbols
5.4 Hashes (Continued)
5.5 The exercise: Let’s make our length unit converter
5.6 Hashes in more detail
5.7 Symbols in more detail
5.8 Conclusion

Chapter 6  Understanding regular expressions
6.1 Introduction
6.2 What are regular expressions?
6.3 Ruby’s regular expression object
6.4 The exercise: Converting Ruby’s hash syntax
6.5 Regular expression objects in more detail
6.6 Conclusion

Chapter 7  Understanding how to make classes
7.1 Introduction
7.2 Fundamental knowledge concerning object-oriented programming
7.3 Defining a class
7.4 The exercise: Let’s make our ticket gate
7.5 The keyword self
7.6 Inheritance
7.7 Publicity levels of methods
7.8 Constants in more detail
7.9 Many kinds of variables
7.10 Advanced topics concerning class definition and Ruby language specifications
7.11 Conclusion

Chapter 8  Understanding Modules
8.1 Introduction
8.2 Overview of modules
8.3 Module mixins (include and extend)
8.4 The exercise: Let’s make our deep_freeze method
8.5 Mixins in more detail
8.6 Creating namespaces by using modules
8.7 Creating modules that have methods and constants
8.8 Creating modules that maintain a specific condition
8.9 Advanced topics related to modules
8.10 Conclusion

Chapter 9  Understanding exception handling
9.1 Introduction
9.2 Capturing exceptions
9.3 Raising errors deliberately
9.4 Best practices concerning exception handling
9.5 The exercise: Let’s make our regular expression checker
9.6 Exception handling in more detail
9.7 Conclusion

Chapter 10  Understanding yield and Proc
10.1 Introduction
10.2 yield and defining blocks that use methods
10.3 Proc objects
10.4 The exercise: Let’s make our word synthesizer
10.5 Proc objects in more detail
10.6 Conclusion

Chapter 11  Learning how to debug in Ruby
11.1 Introduction
11.2 How to read backtraces
11.3 Frequently raised errors and their causes
11.4 Checking a program’s code in the middle of its process
11.5 Methods for general troubleshooting
11.6 Conclusion

Chapter 12  Other Ruby related topics
12.1 Introduction
12.2 Handling dates and time
12.3 Handling files and directories
12.4 Reading/Writing files with specific formats
12.5 Retrieving environment variables and command line arguments
12.6 eval, back quote literals, and the send method
12.7 Rake
12.8 Gems and Bundler
12.9 Conclusion

Appendix  Preliminary information for learning Ruby on Rails
A.1 Introduction
A.2 Understanding extended functionalities specific to Rails
A.3 Keeping up with the framework’s development
A.4 Application layout related information
A.5 Web related information
A.6 Database related information
A.7 Security related information
A.8 Test automation related information
A.9 Git and GitHub related information
A.10 Server and operation related information

Afterword
Bibliography

Index
    

The table of contents is translated by Gabriel Arcangel Zayas.