class MathCaptcha::Challenge

Attributes

answer[RW]
encrypted[RW]
options[RW]
question[RW]

Public Class Methods

new(question, answer, encrypted, options=nil) click to toggle source
# File lib/math_captcha.rb, line 13
def initialize(question, answer, encrypted, options=nil)
  @question = question
  @answer = answer
  @encrypted = encrypted
  @options = options
end