examples to go with introductory Ruby class
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
01_class
02_test_first
03_calculator
04_temperature
05_scope
06_modules
07_simon_says
07a_convert_markdown
08_pig_latin
09_timer
10_enumerables
10a_book_titles
11_array
12_blocks
13_builder
14_web
15_dictionary
16_testdata
17_rake
exceptions
notes
performance_monitor
.gitignore
.rvmrc
README.md

README.md

Welcome to Ruby!

Setup

  • Check out the git repository

    git clone git://github.com/blazingcloud/ruby_lessons.git
    
  • Install RSpec

    gem install rspec
    
  • Configure RSpec (optional). If you're running a bash shell, you can put the following in your .bash_profile to make the output a bit nicer.

    alias rspec="rspec --color --format nested"
    
  • For lesson 14

    gem install fakeweb
    

Resources

Ruby Language

Good online references for Ruby & Rails

When you have a question...

First, search for the answer (keywords, exact error string)

If you didn’t find the answer and you need to ask your question:

  1. Include version numbers: $ ruby -v ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
  2. Note where you have already looked for an answer
  3. If you can, include code snippets that reproduce the problem in isolation

Other good resources

Related Projects

As a last resort

Credits

  • Test-First Teaching Concept by Alex Chaffee
  • All exercises cross-published at TestFirst.org where some were created in collaboration with Liah Hansen
  • Most examples and class by Sarah Allen