
Meet your instructor, a California software engineer with big data, Hadoop, and Java experience, guiding you through a complete Ruby tutorial for beginners.
learn how to install Ruby across Windows and Mac, follow the installation page, use package managers like brew, verify installation by running Ruby, and set the path.
Explore the Ruby interactive shell (irb) to run hello world, perform arithmetic, define functions with def and end, and use basic operators and conditional checks in Ruby.
Create and run a simple Ruby program by adding a .rb extension, saving a sample file, and executing it to see the output. Learn troubleshooting for common Ruby installation errors.
Learn how Ruby treats white spaces and invisible spaces in code, and how double quotes denote a string. Experiment in the Ruby shell to see results without running files.
Discover how line endings affect Ruby statements, where a semicolon and a newline terminate a line, and how Ruby treats them to determine when a statement is completed.
Learn how Ruby identifiers are case sensitive, must use alphanumeric characters, and cannot be reserved words; explore keywords like def, puts, in, end, and how to name functions.
Master ruby comments by using hash for single-line notes and begin-end blocks for multi-line commentary, learn how to disable code segments, and see how puts prints to the console.
Explore how the begin statement in Ruby executes the enclosed code first, as shown through simple print statements and sample code for beginners.
Explore how Ruby executes code for beginners using the begin and put statements, showing that a begin block runs first and prints its output regardless of position.
Explore core object oriented programming concepts in Ruby, including inheritance for code reusability, polymorphism, abstraction through hidden implementations, and encapsulation that binds data and behavior.
Define a Ruby class using the class keyword followed by a name, then end with the end keyword to create a simple class that displays output.
Learn the four Ruby variable types—local, instance, class, and global—and their scopes, from method locals to object, class, and across the program.
Learn how to create objects in Ruby by defining a class with the class keyword and instantiating objects as instances, as shown with test1, test2, and test3.
Define a function as a method in Ruby and learn how to create it within a class. Instantiate objects, access methods, and see how attendance values are produced and printed.
Practice with Ruby by building two classes, defining methods and various variables (local, class, global), creating student objects, and displaying attendance and marks.
Explore basic math operators in Ruby, including addition, subtraction, multiplication, division, and modulus, with hands-on examples and value demonstrations.
Learn the basic Ruby comparison operators, including equals, not equals, greater than, less than, and their greater than or equal and less than or equal counterparts, with practical examples.
Learn to use Ruby assignment operators to update variables with =, +=, -=, *=, /=, and %=, and explore practical examples of incrementing and reusing values.
Explore Ruby logical operators, including and, or, and not, and how to compare two conditions to determine if they are true or false in Ruby.
Explore Ruby conditional statements, including if, else, case, and unless, and see how conditions control program flow with a sample that prints results to the console.
Explain that the unless statement executes only when the condition is false, opposite of if, with examples showing outcomes when conditions are true or false.
Learn how to use Ruby's case statement to handle many conditions, with a vowels and consonants example demonstrating input-driven outputs and the end keyword.
Explore loops in Ruby to execute the same statements multiple times, including while and for loops, and use break, next, and redo within loops.
Define methods in Ruby using def and a method name, and close with end. Pass parameters, create reusable code, and call methods on objects to invoke behavior.
Ruby scripting or programming language which is new and more valuable in today world of Information technology. This course will teach you the fundamental concepts of Ruby including object oriented programming.
Ruby course is designed to provide its basic concepts, knowledge and practical examples. Ruby comes with a irb (interactive ruby) that will show the results of any statements you give instantly. Working with Ruby code is really interesting and gives more idea on how scripting language works. Going through many practical is the easy and only way to learn the language, and ruby is a lot of fun to use!
This course will explore the concepts of Ruby like:
All the material which is used in this course is attached in respective lectures.
You can complete this course in 2hours and please don't ignore any Quiz.
We made this course in such a way that everyone can understand easily, we added the basic concepts in the beginning lectures , then added advanced topics and finally taught how to use the Ruby in real time with an example.
Hope you like it !!