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.
RubyBits II 6-4 - example.rb
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment