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

    Parameters:

    • key

      Key of the hint

    • value

      of the hint

  • #initialize(content) ⇒ DebugHint

    Creates a hint with specified content

    Parameters:

    • content

      of the hint



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

def initialize

end

Instance Attribute Details

#contentString (readonly)

Returns a hint.

Returns:

  • (String)

    a hint



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

def content
  @content
end