Class: Turing::Challenge::ChallengeObject

Inherits:
Struct
  • Object
show all
Defined in:
lib/turing/challenge.rb

Overview

Challenge object we store

Instance Attribute Summary collapse

Instance Attribute Details

#answerObject

Returns the value of attribute answer

Returns:

  • (Object)

    the current value of answer



86
87
88
# File 'lib/turing/challenge.rb', line 86

def answer
  @answer
end

#whenObject

Returns the value of attribute when

Returns:

  • (Object)

    the current value of when



86
87
88
# File 'lib/turing/challenge.rb', line 86

def when
  @when
end