In this chapter, we discussed the fundamentals of Ruby. We saw how to install Ruby, and covered the various data types, defining classes and methods, loops, conditional execution, exceptional handling, and so on. Though this is not a complete reference to Ruby, the content of this chapter is enough to get you started with Ruby and Sinatra. It will help you explore more and innovate your code.
So, play around with various code snippets and use irb as it'll be of great help later. In the next chapter, we will start looking at Sinatra and its fundamentals.