O'Reilly logo

Learning Sinatra by Manoj Sehrawat, Sudeep Agarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required