Ruby

While learning, some times you know that “.wxyz(a, b)” method exist, and you know how it works, but you Syntax is a little of, and you just need a quick look to your notes, no need to read all the documentation again, here are some of the notes that I took, I hope they would be of good use to you.


Variables (2)

Ruby has 5 types of variables Local Variables Global Variables Instance Variables Constants Class Variables Now a little example of each. Local Variable 3.times do ...
.....

Blocks (2)

One of the previous post is about "Ruby Blocks" this post will have all the information on that post plus more, this post will be ...
.....

Rubi Methods

Ruby methods are very similar to "Functions" in JavaScript, and basically are used to bundle chinks of code in a single unit, methods names should ...
.....

Looping

Here is where computers shine, Im talking about do the same thing over and over and over again, with precision, consistency, & accuracy. the best ...
.....

Conditional Logic

Here we will study more about the CONTROL EXPRESSIONS in Ruby and provide some example that will help to create better code, conditional logic implies ...
.....

Hash (2)

I did another post with information about hash, I will put all the information found on the previous post plus more. The same way that ...
.....

Arrays (2)

In this post I put the number (2) because I make another post about arrays before, in this one I will put everything that is ...
.....

Strings

I already make a post about strings, This will have all what I put on the prior post and MORE. so here we go. what ...
.....

Ruby data types – Booleans, Symbols, Numbers

The first question wold be what are "Data Types"? well a data type is a set of values, and the allowable operations on those values, ...
.....

Special Methods Examples

Here you will be able to find some examples of methods, that might come handy when in need, those are simple examples that will help ...
.....

Ruby Shorcuts

Here I will post some of the shor-cuts that I find while learning, some times you come across a cool way to do a little ...
.....