forked from NUBIC/surveyor
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mark Yoon
committed
Feb 9, 2011
1 parent
2304fe6
commit 7092d8f
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
survey "Favorites" do | ||
section "Foods" do | ||
# In a quiz, both the questions and the answers need to have reference identifiers | ||
# Here, the question has reference_identifier: "1", and the answers: "oint", "tweet", and "moo" | ||
question_1 "What is the best meat?", :pick => :one, :correct => "oink" | ||
a_oink "bacon" | ||
a_tweet "chicken" | ||
a_moo "beef" | ||
end | ||
end |