Skip to content

Instantly share code, notes, and snippets.

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

Revisions

  1. codeschool-courses created this gist Oct 13, 2012.
    10 changes: 10 additions & 0 deletions example.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    add_game "Civilization" do
    system "PC"
    year 1991
    strategy # These two method names
    turn_based # should become tags
    end

    with_games_tagged "strategy" do
    print_details
    end