Skip to content

Commit

Permalink
Updates chapter2/README.md
Browse files Browse the repository at this point in the history
Auto commit by GitBook Editor
  • Loading branch information
maryrosecook committed Jan 16, 2018
1 parent 7a52279 commit 37f1276
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chapter2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,5 +299,7 @@ Here's another example of the modulo. Play around with it until you understand w
>
> I've lied a bit about how numbers work in Ruby. Numbers aren't actually created at the same time as the main program function. In reality, an smaller, sub-world \(a 'function'\) is created. When we type `100`, that function is executed in such a way as to return the number 100 to the world on-the-fly. It's a small distinction: but why does Ruby do this kind of on-the-fly generation? The answer is: this is a way to avoid slow program start-up, where the program has to generate loads of numbers before it can show the prompt. The reason we're not covering this in detail here is because this function isn't actually a Ruby function: it's a C function, which Ruby executes. You can learn more [here](https://stackoverflow.com/questions/3430280/how-does-object-id-assignment-work) if you're interested.
## Complete the mastery quiz for chapter 2

Use the mastery quizzes repository that you forked to complete the quiz for chapter 2.

0 comments on commit 37f1276

Please sign in to comment.