Ruby Essential Training Part 1: The Basics

Go to class
Write Review

Free Online Course: Ruby Essential Training Part 1: The Basics provided by LinkedIn Learning is a comprehensive online course, which lasts for 4-5 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. Ruby Essential Training Part 1: The Basics is taught by Kevin Skoglund.

Overview
  • Learn the fundamentals of Ruby, the popular object-oriented programming language, starting with object types, control structures, code blocks, and defining custom methods.

Syllabus
  • Introduction

    • Learn the basics of Ruby
    • Get the most out of the exercise files
    1. Get Started with Ruby
    • Introducing Ruby
    • Install Ruby on a Mac
    • Install Ruby on Windows
    • Using Ruby
    • Interactive Ruby Shell (IRB)
    • Documentation
    2. Ruby Object Types
    • Objects
    • Variables
    • Numbers: Integers
    • Numbers: Floats
    • Strings
    • Strings: Escaping and interpolation
    • Arrays
    • Array methods
    • Hashes
    • Symbols
    • Booleans
    • Ranges
    • Constants
    • Nil
    • Challenge: Roman numerals
    • Solution: Roman numerals
    3. Control Structures
    • About control structures
    • Conditionals: if, else, elsif
    • Conditionals: unless
    • Conditionals: case
    • Conditionals: Shorthand operators
    • Loops
    • Iterators
    • Challenge: Blanket patterns
    • Solution: Blanket patterns
    4. Ruby Scripting
    • Best practices
    • Exit a running script
    • Input and output
    • Challenge: Guessing game
    • Solution: Guessing game
    5. Enumerables and Code Blocks
    • Enumerables
    • What is a code block?
    • Find methods
    • Map methods
    • Inject methods
    • Sort methods
    • Merge methods
    • Challenge: Ruby blanks
    • Solution: Ruby blanks
    6. Custom Methods
    • Define and call methods
    • Variable scope
    • Arguments
    • Argument default values
    • Return value
    • Return multiple values
    • Challenge: Pig Latin
    • Solution: Pig Latin
    Conclusion
    • Next steps