Skip to content

XiaoA/tealeaf-precourse

Repository files navigation

What is this?

This repository is a record of the pre-course exercises from the "Learn Ruby" text at Tealeaf Academy.

All of the exercises were completed on the BASH Command Line, in IRB, and in emacs org-mode. The top level notes.org file contains my full documentation. This includes detailed notes, explanations, and all of the source code. Through the magic of Org-Mode's Babel function, I can write the Ruby code once in my notes, and then "tangle" (export) the code into the appropriate subdirectory, which automagically creates separate Ruby files!

If you want to follow my work, check notes.org; everything is there. However, it's over 7000 lines, so it's a pretty big document! My exercises (plus some original 'extra credit' exercises I did for more practice) have been exported to Ruby or Markdown files, and can be found in the appropriate subdirectory.

Each subdirectory corresponds to a chapter in the book:

  1. Preparations
  2. The Basics
  3. Variables
  4. Methods
  5. Flow Control
  6. Loops & Iterators
  7. Arrays
  8. Hashes
  9. Files
  10. More Stuff
  11. Exercises

All of my work can be examined in notes.org.

About

Notes and exercises from the pre-course Ruby course at http://gotealeaf.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published