
Learn Ruby from scratch through a project-based course that covers variables, data types, conditionals, loops, functions, modules, arrays, hashes, file handling, and object-oriented programming, plus 10 projects.
Download and install Ruby on Windows using the Ruby installer, selecting the latest stable version (2.5.3). Then verify the installation by opening a command prompt and typing ruby --version.
Install ruby on mac by downloading from ruby-lang.org, use rbenv with homebrew, update the bash profile, restart the terminal, and verify the installation with ruby --version showing 2.5.3.
Install the open source tennis studio editor on mac, create a ruby project, add hello.rb, and run it to print hello ruby with puts.
Discover how a programmer thinks by blending mathematics, engineering, and science to design and run a Ruby program that prints hello world using puts, print, and the P function.
Explore debugging in Ruby, identifying syntax errors and runtime errors (exceptions) through an interactive Ruby shell, with examples showing how the interpreter nudges for incorrect syntax and logical issues.
Learn what variables are in Ruby, how to assign values, and use them with print and basic arithmetic. Understand valid names, case sensitivity, and common syntax errors from keywords.
Explore Ruby data types, including strings, numbers, booleans, arrays, hashes, and symbols. Learn that everything is an object from a class; underscores aid readability.
The lecture introduces arithmetic operators, showing how plus, minus, asterisk, forward slash, double asterisk, and percent modulus perform math on left and right operands, with practical Ruby examples.
Explains how Ruby assignment operators work, using shorthand forms like +=, -=, *=, /=, **, and % to modify variables in an interactive Ruby shell with simple examples.
Explore Ruby's parallel assignment to initialize multiple variables in one line, swap values, assign a single value to all variables, and assign array elements with the rest of the values.
Explore Ruby comparison operators: >, <, ==, !=, >=, <=, and the combined comparison that yields 0, 1, or -1, plus case equality and object id checks in IRB.
Learn how logical operators in Ruby evaluate truth: and requires both true, or requires one true, not negates. Try irb with A true and B false.
Build a bmi calculator in ruby that prompts for height in centimetres and weight in kilograms, converts to meters, computes bmi, and displays the bmi category using the given thresholds.
Explore Ruby string operations, including interpolation, length and size, indexing and slicing, split and chars, case conversions, and bang methods like chop, chomp, and gsub, include, index, start_with, and end_with.
Explore Ruby string methods by converting values with to_i and to_s, checking emptiness, formatting with center, ljust, and rjust, and handling encoding with force_encoding.
Create a Ruby email generator that builds company email addresses from user input. Use string methods such as split and join to handle spaces in names and produce lowercase emails.
Explore Ruby conditionals, using if, else, and elsif to evaluate boolean expressions, apply and/or logical operators, and nest or chain conditions to control program flow.
Explore Ruby conditional logic using unless statements, variables, and ternary operators to control maintenance messages and page navigation between online and offline states.
Explore Ruby case statements as a flexible alternative to if-else blocks, using when branches and ranges. Assign results with case and use one-liner syntax for concise checks.
Build a Ruby project that reads exam score, converts it to an integer, and uses a case statement to assign a letter grade (A-F) with ranges and invalid input checks.
Explore for loops and iterators in ruby, printing ranges like 1 to 5 and arrays, using blocks with curly braces or do end, and block variables.
Learn how to control ruby loops using break and next to exit or skip iterations, with examples printing 0 to 5 and skipping 3.
Explore how methods organize Ruby programs into modular, reusable blocks, using built-in methods such as puts and print, and creating user defined methods with optional parentheses.
Explore Ruby method arguments, including required and default values, positional and keyword parameters, variable-length args, and how to pass and call blocks for flexible method behavior.
Explore lambda functions in Ruby as anonymous methods defined with lambda and arrow syntax, illustrate proc objects, and invoke single-line and multi-line forms with call, returning 64 for input 8.
Explore local and global variables in Ruby, see how scope affects access inside blocks and methods, and learn that global variables can be updated and accessed across scopes.
Explore recursive methods in Ruby, where a function calls itself until a base condition stops the recursion, demonstrated by summing numbers from a start to zero.
Demonstrate Ruby modules as containers for constants and methods, and show how to import them with require or relative paths, then call module methods such as square.
Explore ruby gems, the ruby package manager. Learn to install and uninstall gems, check versions with gem list, and use irb to require and run examples like business time.
Hi there,
Welcome to my "Ruby For Beginners: Learn to Code with Ruby from Scratch" course.
This course is for anyone who wants to learn Ruby programming language and who would like to make use of Ruby for any purpose. Whether you
want to to make use of Ruby on Rails,
are struggling with Ruby,
just decided to add the Ruby programming language to your resume, you are definitely in the right place.
Learn Coding with Ruby Popular Programming Language and Gateway to Ruby on Rails
Ruby is a cross-platform, object-oriented language. Ruby is not only used for writing programs but also used for creating dynamic web sites. (thanks to web frameworks such as Rails). As Ruby is a fantastically powerful language it is used by top companies like Twitter and Airbnb. If you try to do Ruby on Rails without knowing Ruby language you will most likely fail. That`s why this course is the best gateway to Ruby on Rails.
10 Awesome Projects
In this course you will have 10 Awesome projects. Each project will help you to solidify your understanding. You will have the best teaching content.
No Previous Knowledge is needed!
You don’t need to have a previous knowledge about all. This course will take you from a beginner to a more advanced level with hands-on examples.
What You Will Learn
· To set up
· Programming Concepts
-Variables, Data Types, Numbers, Strings
· Objects and methods
· Conditionals and Loops
· Ranges, Arrays, Hashes
· File Operations
· Regular Expression
· Classes, Modules, and Inheritance
and much more...
Learning has never been this easy!
If you are a complete beginner, if you are already an experienced programmer in some other language, or if you've started learning Ruby and you need a clear, simple way to revise your Ruby knowledge this course is for you. Enroll now!
See you on the inside!