
A beginner to advanced Ruby programming course that guides you from basics to professional level, showcasing Ruby's power and new features through practical applications.
Explore Ruby's dynamic, reflective, object-oriented design and its role as a bridge between programmers and machines. Learn its interpreted syntax, blocks and lambdas, and Ruby on Rails for web development.
Explore the origins and naming of Ruby, the Ruby Gems ecosystem, its multi-paradigm support (procedural, object-oriented, functional), dynamic typing and duck typing, and code embedding into HTML.
Explore how the Ruby programming language compares to C, noting similarities in operators and strings and differences in compilation, declarations, memory management, and object-oriented behavior.
Compare Ruby and C++ by highlighting similarities in access modifiers, inheritance syntax, modules, operators, and exceptions, while contrasting Ruby's dynamic typing, initialize, arrays and hashes, blocks, and built-in testing.
Install Atom Runner to run Ruby scripts inside Atom, enabling seamless execution after installing Atom and Ruby 2.6.5, with steps to search, install, enable, and configure Atom Runner.
Begin your Ruby journey by running your first Ruby program on the installed compiler, then explore operators and built-in methods through practical, hands-on coding.
Launch your first Ruby program by creating a Ruby file with the .rb extension in a project folder and running it with Atom Runner to print hello world.
Learn how to output strings in Ruby using puts, p, and print, with Runner examples showing that puts adds a newline, print needs backslash n, and p prints with quotes.
Explore arithmetic operators in Ruby, including addition, subtraction, multiplication, division, modulus, and exponent, and see how unary operators affect numbers.
Master Ruby operator precedence to predict expression outcomes. Follow a sequence from boolean not to arithmetic and bitwise operators with practical examples.
Learn how to use Ruby comments to annotate code, including single-line and multi-line comments, the shebang line, and when to add meaningful notes before classes or methods to aid readability.
Explore Ruby variables and constants, including local, instance, class, and global scopes, naming rules, and practical examples with blocks and reassignment warnings.
Explore parallel assignment in Ruby, declaring multiple variables in a single operation and assigning corresponding right-side values, with examples and error handling when counts mismatch.
Explore string interpolation in Ruby, learning how to embed variables inside double-quoted strings for clean concatenation, and contrast it with plus-operator concatenation and single-quoted strings.
Explore core Ruby concepts in this section, including number types, booleans, operators, blocks, and built-in functions. Designed for beginners, it lays the groundwork for future tutorials in advanced Ruby programming.
Explore Ruby’s number system, covering numeric, integer, fixed number, big number, float, complex, rational, and big decimal, and learn the class, ancestors, and float precision fixes.
Learn how to convert strings to numbers and numbers to strings in Ruby using to_i, to_f, and to_s, with practical line-by-line examples of integers and floats.
Learn how Ruby predicate methods, ending with a question mark, return true or false, with examples like odd, even, and between that read like questions.
Explore Ruby arithmetic and comparison operators, including +, -, *, /, %, **, and the <=>, ===, eql?, and equal? forms for value and identity.
Master ruby assignment operators such as =, +=, -=, *=, /=, %=, and **=, and explore bitwise operators including and, or, xor, ones complement, left shift, and right shift.
Explore Ruby logical operators (and, or, not) and the ternary operator, with practical examples showing how true conditions, non-zero operands, and simple if-else logic work.
Describe the ruby range operator with two-dot and three-dot forms (a = 1..10), and explain the defined operator for checking variables, methods, scope, and usage with yield and super.
Explore the dot operator for method calls and the double colon operator for referencing constants via module names in Ruby, with examples and notes on future lessons.
Explore Ruby operator precedence from the constant resolution operator (::) to element reference, exponentiation, unary plus and minus, and arithmetic, bitwise, logical, range, ternary, and assignment.
Explore Ruby math constants like pi and e using the Math module, and master a range of maths methods from trigonometric to hyperbolic functions, roots, and error functions.
Learn how the Ruby times function generates numbers from zero to a given number with a block, returns an enumerator without a block, and prints only the negative value.
Learn Ruby's up to and down to functions to count from a low to a high value or reverse, with an optional block to display each iteration.
Learn how Ruby's step function iterates over a range to print every nth element, demonstrated from zero to ten with outputs like 0, 2, 4, 6, 8, 10.
Learn five key concepts in Ruby strings, including introduction to strings, string operations, string ranges, case statements, and built-in string functions.
Explore strings in Ruby, learning that strings are mutable objects as sequences of characters. Create, display, store, join, and handle newlines, apostrophes, and quotes.
Master multi-line strings in Ruby by using an array with join, the doc string approach, and percent sign syntax with q and Q for no interpolation and for interpolation.
Explore how Ruby handles escaping characters and sequences in strings, including escaping quotes with backslashes, using double vs single quotes, interpolation, and the percent notation variants.
Explore the difference between the double equal operator (==) and the equal operator in Ruby, focusing on reference versus value equality, and how hashes and numeric types handle strict equality.
Learn the differences between length, size, and count in Ruby. Use length for strings and size for hashes and arrays, while count counts matches in enumerables and may traverse.
Learn to extract single characters from a string using bracket syntax in Ruby, understanding zero-based indexing and the impact of Ruby versions on encoding.
Learn to extract substrings in Ruby using ranges with strings, including inclusive and exclusive ranges. Explore examples from zero to nine and anticipate future tutorials on slice and other methods.
Use sub and gsub to substitute strings in Ruby, distinguishing first occurrence from global replacements. Learn inline replacement with exclamation and that sub returns a string while gsub replaces all.
Explore how to reverse a string in Ruby using the reverse method, the dot operator, and puts to output the reversed characters.
Explore the Ruby include method for strings, which returns true if a string contains the specified sequence, demonstrated with string.include and practical examples of single characters and sequences.
Explore how Ruby models absence with four checks—nil, empty, blank, and present—clarifying when each applies, including Rails extensions and object-oriented implications.
Explore functions in Ruby, including initialization, invocation, and return values, as this section shifts to lower intermediate topics like flow of control, anonymous statements, and loops.
Explore local and global variable scopes in Ruby functions, including how local scope restricts access and how global scope allows cross-block use, with examples of advantages, disadvantages, and common pitfalls.
Use functions to reuse code, avoid repetition, and shorten your Ruby programs while organizing code for extensive projects.
Develop an advanced Ruby calculator that takes user input via gets, stores values in x and y, and outputs the sum, subtraction, multiplication, and division.
Master flow control in Ruby by exploring conditionals and loops that steer program execution. Learn if, else, case, until, while, for, each, next, and redo to control code flow.
Explore Ruby flow control with if, elsif, and else. Learn syntax, blocks, optional then, and how true conditions drive single or multi-line statements.
Explore ruby's case statement as a multiway branch that directs execution by value, using case, when, and optional else for string and domain matching.
Learn how the while statement and until keyword control Ruby loops by evaluating conditions, updating counters, and terminating with end; explore practical examples with i, sum, and a time countdown.
Demonstrates the do while loop in Ruby, showing that the loop body executes at least once before evaluating the condition, and contrasts it with a pre-check while loop.
Master Ruby for loops with ranges to run a known number of iterations. Print numbers 0 to 9, using in and end keywords, and compute the sum 0–9 equals 45.
Master break and next in Ruby, learning how break exits endless loops and next skips iterations, with examples using 0–30 random numbers and printing odd numbers.
Learn the redo and retry keywords in Ruby, where redo restarts the current loop iteration and retry restarts the entire loop on an exception.
Explore Ruby's unless statement, the opposite of if, executing code when a condition is false, with optional else, syntax, and examples including modifier usage.
Explore deeper range concepts in Ruby, covering an introduction to ranges and the related functions you can apply to them, with practical range functions that will help in future projects.
Discover how to define and use ranges in Ruby, from 0..9 and A..Z to customized subsets, and learn that a range is a flexible datatype you can call methods on.
Explore Ruby range methods include? and size, learning how include? checks membership with true or false, and size returns the range's element count through practical examples like 0..10 and 2..7.
Explore Ruby range methods each and first: each iterates a range with a block, returning all elements, while first returns the first element or first X elements as an array.
Learn advanced level Ruby programming covers creating ranges with range.new. It explains retrieving the last with range.last, getting the last n elements, and checking membership with include?.
Explore ruby range end, which returns the last element of a range, and eql?, which returns true when two ranges are equal in value and type.
Explore Ruby's begin and inspect: begin returns the first element of a range, while inspect renders the range in a printable form, as shown with 0..9 and 5..9.
Learn how Ruby's cover and exclude_end range methods work, returning booleans to indicate if an object lies within a range or if the end is excluded, with practical examples.
Learn how ruby's to_s converts a range to a string and how entries returns the range elements as an array, with a 0 to 9 example.
Learn how the Ruby member? method checks if a value lies within a range, returning true or false, and works like include for range checks.
Explore the section overview and master arrays by covering introduction to arrays, accessing initialized arrays, and applying both common and array-specific functions.
Learn Ruby arrays: initialize and access elements with zero and negative indices, use first and last, fetch for errors, and extract multiple items with slice, take, and related mutating methods.
Master how to pick random entries with Ruby's sample method and how to find and filter array elements using include?, find, select, and reject.
Sort arrays in Ruby with sort, reverse, and the spaceship operator for custom comparisons. Learn sorting simple values and hashes, plus the Schwartzian transform for efficiency.
Use map and its alias collect to transform each array element, returning a new array; note the bang form mutates original and see how this supports UI tasks like dropdowns.
Learn how to convert arrays to strings in Ruby by using map and the join method, control separators, and print formatted output such as HTML option tags or multiline strings.
Explore how to use Ruby's string split to divide text with a delimiter and optional limit, then identify the largest word in a string by sorting by length and reversing.
Learn to use Ruby's string insert to add characters at a given index, positive or negative, and to apply squeeze to remove duplicates with or without a specified character.
Discover how Ruby's string methods clear and delete work: clear empties a string, while delete removes specified characters and returns the modified string or nil if unchanged.
In this course we are going to start from the very beginning of Ruby Programming. We are going to slowly move ahead taking everyone along to the advanced level topics. Anyone who is interested in learning Ruby Programming Language can take this course. This course will help them get a good grasp on Ruby Programming concepts.