
Download and install tools to set up a Ruby development environment, then learn basics like strings, variables, and user input, before diving into arrays, hashes, loops, fizzbuzz, methods, and classes.
Check out my student Facebook Group...
It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...
Join Now!
https://www.facebook.com/groups/codemycom/
Verify ruby installation and then set up a text editor and terminal to create hello.rb, save it in a project folder, and run ruby hello.rb to print 'Hello world'.
Sometimes Git Bash has issues with gets... to get around them, run your program like this:
winpty ruby program_name.rb
Master assignment operators in Ruby by assigning values with = and updating variables using +=, -=, *=, /=, and other math operators; learn to increment counters and reuse updated values.
Explore while loops in Ruby by building a counter, looping while the condition is true, printing numbers 1 through 9, and avoiding infinite loops with proper increment.
Learn to build fizz buzz in Ruby by looping 1 to 100 and using modulus with if/elsif to print fizz, buzz, or fizz buzz.
Explore methods in Ruby, defining with multiple parameters, passing variables, and handling argument counts. Learn returning values, storing output, and transforming results with downcase and upcase.
Unlock lifetime access to 60 plus courses with a one-time $49 membership. Enjoy a 30-day money-back guarantee, progress, a certificate of completion, and a book library with a Facebook group.
In this course we'll learn the Ruby programming language from an absolute Beginner level all the way to Advanced in no time at all!
This course is aimed at the absolute beginner, you don't need any coding experience at all!
We'll start out by setting up a development environment that has all the tools you need to start writing and running Ruby code.
Then, we'll dive into very basic computer science concepts. Things like:
Printing to the Screen
String Manipulation
Variables
Getting User Input
Simple Math
Comparison Operators
Assignment Operators
After that, we'll move into more intermediate topics like:
Conditional If/Else Statements
Arrays
While Loops
Each Loops
Hashes
Fizzbuzz
Finally we'll finish up with more advanced topics like:
Methods
Classes
Ruby is one of the greatest programming languages to learn, and learning has never been this easy!
I'll see you on the inside!
-John Elder