Class: NiceTextCaptcha::Types::DefaultQuestion
- Inherits:
-
Object
- Object
- NiceTextCaptcha::Types::DefaultQuestion
- Defined in:
- lib/nice_text_captcha/types/default_question.rb
Direct Known Subclasses
FixedQuestion, LetterPositionQuestion, MathsQuestion, WordLengthQuestion, WordsInListQuestion
Constant Summary collapse
- ANIMALS =
["dog", "cat", "dolphin", "mouse", "horse", "penguin", "panda", "tiger", "lion", "zebra"]
- COLOURS =
["black", "white", "red", "green", "blue", "pink", "purple", "orange", "yellow", "brown"]
Instance Attribute Summary collapse
-
#answers ⇒ Object
readonly
Returns the value of attribute answers.
-
#question ⇒ Object
readonly
Returns the value of attribute question.
Instance Attribute Details
#answers ⇒ Object (readonly)
Returns the value of attribute answers.
8 9 10 |
# File 'lib/nice_text_captcha/types/default_question.rb', line 8 def answers @answers end |
#question ⇒ Object (readonly)
Returns the value of attribute question.
7 8 9 |
# File 'lib/nice_text_captcha/types/default_question.rb', line 7 def question @question end |