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