Skip to content

Instantly share code, notes, and snippets.

@codeschool-courses
Created October 13, 2012 20:38
Show Gist options
  • Save codeschool-courses/3886070 to your computer and use it in GitHub Desktop.
Save codeschool-courses/3886070 to your computer and use it in GitHub Desktop.

Revisions

  1. codeschool-courses created this gist Oct 13, 2012.
    5 changes: 5 additions & 0 deletions example.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    add_game "Super Metroid", "SNES", 1994

    with_game "Super Metroid" do
    play # we expect this to raise an exception
    end