Ruby Conditionals

A key component for building dynamic behavior into Ruby applications requires conditional logic at some stage or another. In this chapter, you'll learn how to integrate conditionals into a Ruby program, which will enable your programs to have dynamic behavior based on different input data. After finishing this chapter, you will be able to do the following:

  • Demonstrate how to use if...else and compound conditionals
  • Develop programs with conditional logic in Ruby programs to manage data flow
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.12.192