Class: Turing::Challenge::GeneratedChallenge

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

Overview

Generated challenge Struct – returned from generate_challenge

Instance Attribute Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



89
90
91
# File 'lib/turing/challenge.rb', line 89

def file
  @file
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



89
90
91
# File 'lib/turing/challenge.rb', line 89

def id
  @id
end