
Download my book here...
Introductory session outlines setting up a Ruby development environment and learning basics like strings, variables, input, math, and comparisons, then loops, hashes, fizz buzz, and finally 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/
Install Ruby on Windows using Ruby Installer and Dev Kit, set the Ruby path to run from anywhere, and complete the installation wizard.
Explore basic math in Ruby by performing addition, subtraction, multiplication, division, exponents, and modulus operations, and learn how Ruby follows order of operations and precedence.
Explore integers and floats in Ruby, including how Ruby defaults to whole numbers and how decimals like 4.97 enable precise costs and calculations.
Explore assignment operators, notably plus equals and minus equals, which update a variable by adding or subtracting, using number_one += 5 instead of number_one = number_one + 5.
Learn to interact with Ruby programs by getting user input with gets, printing results with puts, and converting input to integers using to_i for simple interactive examples.
Sometimes Git Bash has issues with gets... to get around them, run your program like this:
winpty ruby program_name.rb
Learn to implement if, else, and elsif statements in Ruby, using comparison operators to test conditions, control flow with end, and build simple logic for user input games.
Explore multiple conditionals in ruby by using and and or to combine comparisons. See how and requires two conditions to be true, while or allows either to trigger output.
Learn string manipulation in Ruby by handling user input, removing trailing whitespace with chomp, normalizing case with downcase, upcase, capitalize, and swapcase, and using if/then conditionals.
Explore arrays in Ruby: create and access elements by zero-based indexes, nest arrays for multi-dimensional data, and use length to count items and prepare for adding or removing.
Explore Ruby loops, including while, until, and for loops, with a focus on their structure, conditions, and practical examples.
Explore until loops in Ruby and compare them to while loops, showing how until repeats until a condition becomes true and prints values. Learn when to use until versus while.
Explore Ruby looping by comparing for loops and the each method. Use ranges and arrays to iterate a fixed number of times or through items.
Practice with the each loop to build fizz buzz from 1 to 100, using modulus to check divisibility by 3 and 5, a common coding interview task.
Explore hashes in Ruby by comparing them to arrays, learning to create key-value pairs with curly braces, naming keys like John and Tim, and printing hash contents.
Master hash manipulation in ruby by adding and removing items, understanding when to use hashes versus arrays, and iterating with each to access keys, values, and addresses.
Explore Ruby methods by passing multiple arguments, using default values, and returning booleans, then apply while and until loops to keep code readable.
Learn to generate random numbers in ruby using rand and range notation, explore two-dot versus three-dot behavior, and use variables to power a math flashcard game.
Build a ruby math flashcard game by creating a start_game method that prompts the user to choose addition, subtraction, multiplication, or division, handling input with downcase comparisons.
Master Ruby programming by building a flashcard addition method that presents two numbers, checks the user's answer, and loops to play again.
Unlock a limited time bonus: lifetime membership to access 60+ programming courses and books, with $200 off for three days via coupon Udemy.
Ruby on Rails is one of the most popular web frameworks in the world, but you don't need to learn the "Ruby" programming language to use "Rails"...so most people don't!
That's a shame because Ruby is one of the most fun and easy to use programming languages to learn. In this course I'll teach you the Ruby programming language from the ground up.
This is not a course on Rails, we'll focus only on Ruby here. You'll quickly see just how fast and easy it is to code Ruby like a pro.
Aimed at the absolute beginner, we'll start with basic programming concepts and move on from there.
This course contains 27 videos and is just under 3 hours long. Watch the videos at your own pace, and post questions along the way if you get stuck. You don’t need any special knowledge or tools to take this course, I'll show you everything you need to know.
Let's learn some Ruby!