Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
An introductory two day Ruby course
Ruby
Branch: master

Fixed a few code examples where the path was never updated when I rea…

…rranged the chapters. Verified that all examples ran through on 1.9.3
latest commit f1ba882933
@peter authored
Failed to load latest commit information.
lib
.gitignore Re-ordering chapters to reflect a bottom-up approach and to fit bette…
LICENSE.html Structuring the last chapters in the slides. Added license
LICENSE.png
README.rdoc Merged the Assignments and Boolean Expressions chapters. Rewrote the …
Slides.key Putting the ruby_tour.rb file under chapter two and referencing it fr…
Slides.pdf
TODO.rdoc Merged the Assignments and Boolean Expressions chapters. Rewrote the …
exercises.rdoc
resources.rdoc Added Learn Ruby the Hard Way to resources and regenerated pdf versio…
speaker_notes.rdoc Re-ordering chapters to reflect a bottom-up approach and to fit bette…

README.rdoc

Ruby Basic

Introduction

This is course material for a two day introductory course on Ruby programming. Included here are:

For the exercise part of the course I will be referring the excellent Ruby Koans, see exercises.rdoc.

Prerequisites

  • Participants should have experience with object oriented programming

  • Each participant should have a computer with Ruby 1.9 and an IDE/Editor installed

Contents at a Glance

  1. Ruby Introduction

  2. Structure and Execution

  3. Datatypes

  4. Control Structures

  5. Variables and Constants

  6. Boolean Expressions and Assignments

  7. Classes and Objects

  8. Modules

  9. Methods and Operators

  10. Blocks and Proc Objects

  11. Reflection and Meta Programming

  12. Standard Library

  13. RubyGems and Bundler

Credits

  • Johan Lind - for feedback on the schedule (breaks and exercises), what the students need to bring to the course, course evaluation, and for reminding me of the “show don't tell” idea

  • Peter Lind - for various great feedback. Ruby is your friend, not your parent…

  • David Backeus - for the “show don't tell” idea and for providing this gist on linebreaks

  • Peter Hellberg - for catching copy mistakes

  • Peter Cooper - for providing me with a copy of the “Beginning Ruby” book and for pointing out the difference between a story vs. topic based approach to teaching

License

This course material is released under a Creative Commons license, see LICENSE.html

Something went wrong with that request. Please try again.