Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Ruby Essential Training Part 1: The Basics

Ruby Essential Training Part 1: The Basics

4h 16mIntermediate2022-03-10

Authors

Kevin Skoglund

Kevin Skoglund

Founder of NovaFabrica

Course details

Ruby, the popular object-oriented open-source programming language, is a great place to start learning programming or web development. You can use it to write interactive programs or build scripts to speed up common tasks. In this course, instructor Kevin Skoglund provides the basics that new and experienced developers need to know to start coding with Ruby, starting with the core object types: numbers, strings, symbols, booleans, and more. He demonstrates Ruby's control structures, including conditionals, loops, and iterators. Kevin explains scripting best practices and shows the power of using enumerables and code blocks. By the end of the course, you should be able to use Ruby to define your own custom methods with loops and conditional logic.

Skills covered

RubyEssential TrainingProgramming LanguagesOpen SourceSoftware Development

Concepts

0. Introduction

  • 01 - Learn the basics of Ruby
  • 02 - Get the most out of the exercise files

1. Get Started with Ruby

  • 03 - Introducing Ruby
  • 04 - Install Ruby on a Mac
  • 05 - Install Ruby on Windows
  • 06 - Using Ruby
  • 07 - Interactive Ruby Shell (IRB)
  • 08 - Documentation

2. Ruby Object Types

  • 09 - Objects
  • 10 - Variables
  • 11 - Numbers - Integers
  • 12 - Numbers - Floats
  • 13 - Strings
  • 14 - Strings - Escaping and interpolation
  • 15 - Arrays
  • 16 - Array methods
  • 17 - Hashes
  • 18 - Symbols
  • 19 - Booleans
  • 20 - Ranges
  • 21 - Constants
  • 22 - Nil
  • 23 - Challenge - Roman numerals
  • 24 - Solution - Roman numerals

3. Control Structures

  • 25 - About control structures
  • 26 - Conditionals - if, else, elsif
  • 27 - Conditionals - unless
  • 28 - Conditionals - case
  • 29 - Conditionals - Shorthand operators
  • 30 - Loops
  • 31 - Iterators
  • 32 - Challenge - Blanket patterns
  • 33 - Solution - Blanket patterns

4. Ruby Scripting

  • 34 - Best practices
  • 35 - Exit a running script
  • 36 - Input and output
  • 37 - Challenge - Guessing game
  • 38 - Solution - Guessing game

5. Enumerables and Code Blocks

  • 39 - Enumerables
  • 40 - What is a code block
  • 41 - Find methods
  • 42 - Map methods
  • 43 - Inject methods
  • 44 - Sort methods
  • 45 - Merge methods
  • 46 - Challenge - Ruby blanks
  • 47 - Solution - Ruby blanks

6. Custom Methods

  • 48 - Define and call methods
  • 49 - Variable scope
  • 50 - Arguments
  • 51 - Argument default values
  • 52 - Return value
  • 53 - Return multiple values
  • 54 - Challenge - Pig Latin
  • 55 - Solution - Pig Latin

Conclusion

  • 56 - Next steps

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal