Discover the versatility and power of loops in Ruby through this comprehensive course on `for` loops, `while` loops, and `until` loops. By learning these structures, you can perform repetitive tasks with ease, enhancing the functionality and efficiency of your Ruby scripts.
Overview
Syllabus
- Lesson 1: Introduction to Loops - Basic for and each Loops
- Exploring Loops with Ruby
- Changing Collections in Loops
- Fix the Loop Errors
- Fix the Loop Bug
- Master Ruby Loops Today
- Master Loop Constructs in Ruby
- Lesson 2: Loop Controls - break, next
- Control Loop Flow Efficiently
- Modifying Loop Controls Task
- Fix Loop Control Bugs
- Control Loop Processing in Ruby
- Control Flow with Tasks
- Control Loop Flow with Ease
- Lesson 3: Understanding `while` and `until` Loops in Ruby
- Understanding While and Until Loops
- Understanding Loops for Budget Management
- Adjust Activity Cost in Loops
- Fix the Loop Errors
- Fill the Missing Loop Parts
- Mastering While and Until Loops
- Lesson 4: Nested Loops - Operating Over Multiple Sequential Collections
- Nested Loops in Action
- Adding Details to Nested Loops
- Enhanced Sightseeing Planner
- Discovering Cuisines with Nested Loops
- Write Nested Loops from Scratch
- Lesson 5: More Complex Loop Practices - Building Algorithms
- Calculate Total and Average Days
- Run the Travel Days Calculation
- Using `each_key` for Listing Countries
- Calculate Cultural Events Average
- Total and Average Costs Calculation