This is course material for a two day introductory course on Ruby programming. Included here are:
-
Slides (download keynote, download pdf)
-
Code examples (under the lib directory, referenced from the slides)
For the exercise part of the course I will be referring the excellent Ruby Koans, see exercises.rdoc.
-
Participants should have experience with object oriented programming
-
Each participant should have a computer with Ruby 1.9 and an IDE/Editor installed
-
Ruby Introduction
-
Structure and Execution
-
Datatypes
-
Control Structures
-
Variables and Constants
-
Boolean Expressions and Assignments
-
Classes and Objects
-
Modules
-
Methods and Operators
-
Blocks and Proc Objects
-
Reflection and Meta Programming
-
Standard Library
-
RubyGems and Bundler
-
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
This course material is released under a Creative Commons license, see LICENSE.html