Skip to main content

Intro to Ruby Programming

Intro to Ruby Programming

Taught by John Elder

Write clean, simple Ruby code and build the foundation for web or app development.

Get started
  • Get an accredited certificate
  • 14-day money-back guarantee

About this course

If you have ever wanted to learn Ruby online, this intro to Ruby programming course can help you get started building your own web apps. Ruby is known for being a fun and comparatively simple language to learn, ideal for beginners and aspiring web developers. Proficiency in Ruby and its accompanying framework, Ruby on Rails, is a marketable skill, with growing demand for Ruby and Rails developers in the job market.

Designed for beginners, this intro to Ruby course starts out helping you learn the basics of Ruby programming, including operators, variables and conditional statements. You will build on this foundation with intermediate and advanced concepts in Ruby, with practical, hands-on application and examples every step of the way. By the end of the course, you will apply your skills to build a math flashcard game that you can add to your portfolio, and gain the fundamental knowledge you need to start creating more projects with Ruby.

Highlights:

  • 41 practical tutorials.
  • Store data in variables and apply arithmetic, comparison and assignment operators.
  • Learn how to comment code and deal with errors.
  • Create and use arrays and multi-dimensional arrays.
  • Understand how and when to use loops, including while, until, for and each loops.
  • How to create, use and manipulate hashes.
  • Utilize classes, class getters and class setters.
  • Learn different modes for opening files and how to write and append data to a file.
  • Install and use a third party Gem in your program for extra functionality.
  • Put together everything you've learned by building a math flashcard app.

Want to continue improving your skills in Ruby? Check out the Ruby on Rails course.

Once enrolled, our friendly support team and tutors are here to help with any course related inquiries.

Syllabus

5 sections · 41 lessons · 2h 39m total

Download syllabus

Introduction 4 lessons · 17m

  1. 1. Course Introduction What to expect from this course. 3m View lesson
  2. 2. Install Sublime and Git Bash How to install Sublime Text and Git Bash Terminal for your development environment. 4m View lesson
  3. 3. Install Ruby Installing Ruby is easy with RubyInstaller.org 3m View lesson
  4. 4. Hello World and c9 Transition In this lesson we'll create our first Ruby program! 5m View lesson

  1. 1. Comments and Errors How to comment code and deal with errors. 4m View lesson
  2. 2. Arithmetic Operators How to do basic math with Ruby. 3m View lesson
  3. 3. Floats and Integers Understanding the difference between floats and integers and when to use each. 3m View lesson
  4. 4. Comparison Operators How to compare two or more items with Ruby. 3m View lesson
  5. 5. Variables Storing information in variables is easy! 4m View lesson
  6. 6. Assignment Operators How to assign items to variables (and other things). 3m View lesson
  7. 7. Getting User Input with Gets Allowing the user to interact with your program. 3m View lesson
  8. 8. Conditional Statements How to use if/else/elsif statements in Ruby. 4m View lesson
  9. 9. Multiple Conditional Comparison Operators Sometimes you need to compare more than two things, here's how. 3m View lesson
  10. 10. String Manipulation Modifying a string is simple with these string manipulation tips. 3m View lesson

  1. 1. Arrays What are arrays and how do we create and use them? 3m View lesson
  2. 2. Multi-Dimensional Arrays An array of other arrays is multi-dimensional. 3m View lesson
  3. 3. While Loops Using while loops in Ruby. 3m View lesson
  4. 4. Until Loops Looping until a condition is met using until loops. 3m View lesson
  5. 5. For and Each Loops Understanding for and each loops, and when to use them. 3m View lesson
  6. 6. FizzBuzz! Fizzbuzz! is a popular interview question/quiz. Let's build it! 4m View lesson
  7. 7. Hashes What is a hash, and how do you create and use it? 3m View lesson
  8. 8. Hash Manipulation Adding and removing items from a hash. 3m View lesson
  9. 9. Methods Understanding methods in Ruby. 3m View lesson
  10. 10. Methods Part 2 More on methods... 5m View lesson
  11. 11. Random Numbers How to generate random numbers with Ruby. 3m View lesson

  1. 1. Classes What is a class and how do we use them? 4m View lesson
  2. 2. Classes Part 2 More on classes and how to use them. 3m View lesson
  3. 3. Instance Variables What is an instance variable and how is it different from a regular variable? 3m View lesson
  4. 4. Class Getters What is a getter and how do we use it? 2m View lesson
  5. 5. Class Setters How to create a class setter and why you should. 3m View lesson
  6. 6. Understanding Attr_accessor Let Ruby create your getters and setters automatically with attr_accessor. 3m View lesson
  7. 7. Class Inheritance Inheriting information from other classes. 3m View lesson
  8. 8. Opening a File How to open another file in your Ruby file. 4m View lesson
  9. 9. Open a File into an Array We'll learn to output the contents of a file into an array. 3m View lesson
  10. 10. Open File Modes There are several "modes" for opening files. Learn them all here. 3m View lesson
  11. 11. Write to a File We'll learn to write and append data to a file. 3m View lesson
  12. 12. Adding Third-party Functionality with Gems How to install and use a third-party gem in your program. 4m View lesson

  1. 1. Building a Flashcard Game Let's use what we've learned to build a math flashcard game! 3m View lesson
  2. 2. Flashcard Addition Method How to handle the addition flashcards. 4m View lesson
  3. 3. Flashcard Subtraction, Multiplication, Division Methods How to handle subtraction, multiplication and division flashcards. 4m View lesson
  4. 4. Creating a Menu Allow the user to choose which type of flashcard game to play with a menu. 5m View lesson

Time to humblebrag

Complete the course and pass the final test to get a verifiable CPD-accredited certificate

Share on LinkedIn

Add your certificate to your profile in one click, and let recruiters and managers see your new skills.

  • CPD accredited
  • Verifiable online
Sample GoSkills certificate of completion

Taught by John Elder

John founded one of the Internet's earliest advertising networks (bannerclicks.com) and sold it at the height of the first dot com boom. John went on to develop the award-winning Submission-Spider search engine submission software that's been used by over 3 million individuals, businesses, and governments in over 42 countries.

John has over 20 years experience in web development, building professional websites across all platforms. John's passion for learning new technologies led him to master both front end and back end work, making him a sought after full-stack developer.

Read more

The reviews are in

See what other learners think of our courses

4.5
Based on 11 learner reviews
See all reviews
Chris Sanchez, GoSkills learner
I got the promotion largely because of the skills I could develop, thanks to the GoSkills courses I took. I set aside at least 30 minutes daily to invest in myself and my professional growth.
Chris Sanchez GoSkills learner

Your questions, answered

Frequently asked questions

We’ve compiled the most important information to help you get the most out of your experience. Can’t find what you’re looking for? Contact us.

Does my membership include other courses?

Yes. A GoSkills plan gives access to the full course library, not just this course.

You sure can. As a learner, you can sign up for a 7-day free trial here. If you’re training your organization, you can also start with a free plan here.

Your dashboard shows which lessons you’ve completed and how far you are through each course, so you always know where to pick up next.

Yep! With a business account, you can access the full course library along with the GoSkills LMS where you can assign courses, track team progress and report on results from one dashboard. Learn more about GoSkills for teams here.

Our support team is available at support@goskills.com for questions about your account or the platform. Reach out anytime!