Permalink
Browse files

README added choice question

  • Loading branch information...
burtlo committed Nov 6, 2011
1 parent fa1c4a7 commit e491e68caf28523837c624e6387bb1afe5193593
Showing with 16 additions and 3 deletions.
  1. +16 −3 README.md
View
@@ -13,12 +13,12 @@ A Plugin for [Robut](https://github.com/justinweiss/robut) that allows you to as
user_a > @robut answer YES
user_b > @robut answer yes
user_c > @robut answer n
- robut > @all The results are in for 'Do you want to go to the bar at 4:30?:'
+ robut > @all The results are in for 'Do you want to go to the bar at 4:30?':
2 YES votes and 1 NO vote
```
-### Scale Questions (Range)
+### Scale/Range Questions
```
user_a > @robut ask range 'How much did you like the bar we went to last week?' 1..10
@@ -27,10 +27,23 @@ A Plugin for [Robut](https://github.com/justinweiss/robut) that allows you to as
user_a > @robut answer 1
user_b > @robut answer 5
user_c > @robut answer 10
- robut > @all The results are in for 'How much did you like the bar we went to last week?:'
+ robut > @all The results are in for 'How much did you like the bar we went to last week?':
3 votes with a mean of 5.333333
```
+### Choice Questions
+
+```
+ user_a > @robut ask choice 'What drink should I order?' 'PBR', 'Martini', 'Bourbon'
+ robut > @user I have enqueued your question
+ robut > @all Question 'What drink should I order?' (1..10)
+ user_a > @robut answer PBR
+ user_b > @robut answer Martini
+ user_c > @robut answer Martini
+ robut > @all The results are in for 'What drink should I order?':
+ 1 'PBR', 2 'Martini'
+```
+
## Installation
Install the gem

0 comments on commit e491e68

Please sign in to comment.