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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ DebugHint

Returns a new instance of DebugHint.

Parameters:

  • content (Object)

    of the hint, will be converted to a string



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

def initialize(content)
  @content = content.to_s
end

Instance Attribute Details

#contentString (readonly)

Returns a hint.

Returns:

  • (String)

    a hint



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

def content
  @content
end