From 3d1995827849022b019051b2000526cd5bc5fd19 Mon Sep 17 00:00:00 2001 From: "Hector D. Felix" Date: Mon, 23 Mar 2020 11:54:40 -0700 Subject: [PATCH 1/2] Editing suggestions --- source/05-roadmap.md | 2 +- source/07-variables.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/05-roadmap.md b/source/05-roadmap.md index 2fcb545..021e047 100644 --- a/source/05-roadmap.md +++ b/source/05-roadmap.md @@ -40,7 +40,7 @@ This chapter explains variables in Ruby. Ruby comes with lots of batteries included. Things that are built-in, and ready for you to be used when you open an empty Ruby file, or IRB. -We'll look the two most basic, and most widely used ones: +We'll look at the two most basic, most widely used ones: Numbers, and Strings (text). These will be good enough for us to introduce other concepts without spending too much time on talking about all the other diff --git a/source/07-variables.md b/source/07-variables.md index 30e3c4e..e9d1754 100644 --- a/source/07-variables.md +++ b/source/07-variables.md @@ -41,7 +41,7 @@ number = 1 puts number ``` -One important thing to note here is that a variable is not a "thing" an object +One important thing to note here is that a variable is not a "thing" (an object) by itself. Instead it's just a *name* for an actual object. In our example the number `1` is an object, while `number` is a name for it because we've assigned it. @@ -54,7 +54,7 @@ You can think of it like a post-it note with the name `number` written on it, and stuck on the actual thing, which is an object (in this case, a number). Imagine you were in the middle of learning some Spanish, and sticked post-its -onto things in your apartment: the name *nevara* onto the refrigerator, *cama* +onto things in your apartment: the name *nevera* onto the refrigerator, *cama* onto your bed, and *puerta del baƱo* onto the bathroom door. Now, whenever you use one of these terms, as in *abrir la nevera* (open the From 2948ce7beb8d6a13c8f233282a308b14e1b25f06 Mon Sep 17 00:00:00 2001 From: "Hector D. Felix" Date: Mon, 23 Mar 2020 12:04:48 -0700 Subject: [PATCH 2/2] corrections --- source/08-built_in_classes/01-numbers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/08-built_in_classes/01-numbers.md b/source/08-built_in_classes/01-numbers.md index 08256cb..ba1fb3d 100644 --- a/source/08-built_in_classes/01-numbers.md +++ b/source/08-built_in_classes/01-numbers.md @@ -17,7 +17,7 @@ optional. This is the exact same number in Ruby: `1234.56`.

A number is defined by a series of digits, using a dot as a decimal mark, and -optinally an underscore as a thousands separator. +optionally an underscore as a thousands separator.

Note that different countries use different punctuation for decimal and @@ -83,7 +83,7 @@ $ irb ```

-Use floating point (decimal) numbers when doing devisions. +Use floating point (decimal) numbers when doing divisions.

Exercises: How about doing some of the [exercises on numbers](/exercises/numbers.html)