- Course
Data Iteration with Ruby 2
Ruby is powerful language with syntax that is simple, easy to read and similar to English language. This makes it an excellent language for beginners. This course will teach you how to write clean and flexible code in Ruby.
- Course
Data Iteration with Ruby 2
Ruby is powerful language with syntax that is simple, easy to read and similar to English language. This makes it an excellent language for beginners. This course will teach you how to write clean and flexible code in Ruby.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Coding in any language requires an understanding of fundamental programming constructs like Blocks, modules and behavior overriding. Ruby is an interpreted, high-level, general-purpose programming language and supports procedural, functional and object-oriented programming paradigms. In this course, Data Iteration with Ruby, you’ll gain the ability to write clear, concise code that is also adaptable to change. First, you’ll explore how to call and write blocks. Next, you’ll discover how to reduce code duplication with Procs and Lambdas. Finally, you’ll learn how to use and write your own modules. When you’re finished with this course, you’ll have the skills and knowledge of Data Iteration in Ruby needed to write correct, concise, yet easily understandable code that would be a vital part of your programming toolbox.
Data Iteration with Ruby 2
-
Version Check | 15s
-
Course Outline and Environment Setup | 2m 30s
-
Introducing Blocks | 2m 13s
-
Writing a Block | 2m 38s
-
Writing a Block Method | 1m 59s
-
Block with Arguments | 1m 14s
-
Calling a Block with the Call Method | 1m 4s
-
Demo: Using the Yield Keyword | 3m 1s
-
Using Blocks with Built-in Types | 5m 7s
-
Demo: Implementing a Coin Flip with Blocks | 3m 3s
-
Module Summary | 1m 9s