AI-powered learning
Save this course
Discover Ruby Programming Through Fun Examples
Gain insights into basic syntax, methods, file handling, APIs, and develop problem-solving skills with hands-on practice in object-oriented concepts and web test engineering.
5.0
145 Lessons
40h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- Understanding of basic building blocks in Ruby such as variables, data structure, and syntax for controlling program flow
- Familiarity with methods and file handling in Ruby
- Working knowledge of object-oriented programming, including inheritance and mixin
- Ability to write interactive programs in Ruby
- Hands-on problem solving experience in Ruby
Learning Roadmap
1.
Introduction
Introduction
Get familiar with Ruby basics, from writing "Hello World!" to understanding error types.
2.
Printing Shapes
Printing Shapes
Get started with creating shapes in Ruby using patterns, loops, and conditional logic.
Print Out a TriangleSolution: Printing a TrianglePrint Out a Half DiamondSolution: Printing a Half DiamondPrint Out a Diamond ShapeSolution: Printing a Diamond ShapePrint a Big Diamond of Variable SizeSolution: Printing a Diamond of Variable SizeExercise: Printing ShapesSolutions: Printing Shapes ExercisesQuiz: Printing Shapes
3.
Interacting with the Command-Line
Interacting with the Command-Line
11 Lessons
11 Lessons
Go hands-on with Ruby command-line interactions, building calculators, quiz games, and number games.
4.
Composite Data Types
Composite Data Types
14 Lessons
14 Lessons
Grasp the fundamentals of arrays, hashes, sorting, character retrieval, calculations, and interactive exercises in Ruby.
5.
Useful Utility Programs
Useful Utility Programs
15 Lessons
15 Lessons
Solve problems in creating useful Ruby utilities like temperature conversion, tax calculation, and lotto numbers.
6.
Fun Math
Fun Math
15 Lessons
15 Lessons
Follow the process of solving mathematical problems using Ruby to enhance programming skills.
7.
Methods
Methods
10 Lessons
10 Lessons
Master the steps to create reusable Ruby methods, streamlining tasks like HCF, LCM, and palindrome checks.
8.
File and Network
File and Network
16 Lessons
16 Lessons
Step through mastering file and network operations using practical Ruby programming examples.
9.
Object-Oriented Programming
Object-Oriented Programming
14 Lessons
14 Lessons
Unpack the core of Ruby's object-oriented programming with classes, methods, inheritance, and practical applications.
10.
Classic Puzzles
Classic Puzzles
20 Lessons
20 Lessons
Master problem-solving with recursion, backtracking, data structures, and Ruby's built-in functions.
11.
Web Test Automation
Web Test Automation
4 Lessons
4 Lessons
Grasp the fundamentals of web test automation with Ruby, including Selenium WebDriver and RSpec.
13.
Ruby in a Nutshell
Ruby in a Nutshell
3 Lessons
3 Lessons
Follow the process of exploring Ruby fundamentals, object-oriented programming concepts, and file handling techniques.
14.
Appendix
Appendix
5 Lessons
5 Lessons
Practice using IRB, install Ruby on various OS, and manage Ruby gems efficiently.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
Online tutorials may teach basic Ruby syntax and some programming concepts. But even then, novice programmers can experience considerable difficulty in attempting even the most basic programming exercises. Programming is all about problem solving. This skill can only be honed through practice, which is what this course is all about.
In this course, you’ll be printing different shapes, performing various tasks, and implementing small games using basic Ruby syntax and data structure. You’ll cover Ruby methods, file handling, and other interesting things like using an API and sending emails. Next, you’ll learn about object-oriented programming and how recursion and backtracking can be used for solving different puzzles. Finally, you’ll finish off the course with a brief introduction to the world of web test engineering.
After completing this course, you’ll be able to take on a series of programming tasks using Ruby syntax incrementally, through hands-on problem solving.
ABOUT THE AUTHOR
Courtney Zhan
Software Development Engineer who loves Programming, End-to-End Test Automation and Continuous Testing. An active test automation blogger .
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies

