Class: DebugHint

Inherits:
Object
  • Object
show all
Defined in:
lib/software_challenge_client/debug_hint.rb

Overview

A debug hint, that can be added to a move

Author:

  • Ralf-Tobias Diekert

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeDebugHint #initialize(key, value) ⇒ DebugHint #initialize(content) ⇒ DebugHint

Returns a new instance of DebugHint.

Overloads:

  • #initializeDebugHint

    Creates an empty hint

  • #initialize(key, value) ⇒ DebugHint

    Creates a hint with a key and a value

  • #initialize(content) ⇒ DebugHint

    Creates a hint with specified content



18
19
20
# File 'lib/software_challenge_client/debug_hint.rb', line 18

def initialize
  
end

Instance Attribute Details

#contentString (readonly)



7
8
9
# File 'lib/software_challenge_client/debug_hint.rb', line 7

def content
  @content
end