Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Question
- def initialize( answer = 0, question[''], avanswers )
- self.answer = 0
- self.question << question
- self.avanswers ||= []
- avanswers.each do | string |
- self.avanswers << string
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement